mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-20 19:09:07 +01:00
fixup! fixup! cmd/headscale/cli/utils: merge ip_prefix with ip_prefixes in config
This commit is contained in:
parent
0a1db89d33
commit
45bcf39894
@ -266,8 +266,6 @@ func getHeadscaleConfig() headscale.Config {
|
|||||||
log.Warn().Msgf("'ip_prefixes' not configured, falling back to default: %v", prefixes)
|
log.Warn().Msgf("'ip_prefixes' not configured, falling back to default: %v", prefixes)
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Warn().Msgf("==> %v", prefixes)
|
|
||||||
|
|
||||||
return headscale.Config{
|
return headscale.Config{
|
||||||
ServerURL: viper.GetString("server_url"),
|
ServerURL: viper.GetString("server_url"),
|
||||||
Addr: viper.GetString("listen_addr"),
|
Addr: viper.GetString("listen_addr"),
|
||||||
|
Loading…
Reference in New Issue
Block a user