mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-11 18:07:33 +00:00
fix ip migration
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:

committed by
Juan Font

parent
d4af0c386c
commit
40953727cf
@@ -238,7 +238,7 @@ func LoadConfig(path string, isFile bool) error {
|
||||
viper.SetDefault("tuning.batch_change_delay", "800ms")
|
||||
viper.SetDefault("tuning.node_mapsession_buffered_chan_size", 30)
|
||||
|
||||
viper.SetDefault("prefixes.allocation", IPAllocationStrategySequential)
|
||||
viper.SetDefault("prefixes.allocation", string(IPAllocationStrategySequential))
|
||||
|
||||
if IsCLIConfigured() {
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user