mirror of
https://github.com/gravitl/netmaker.git
synced 2025-12-17 16:18:34 +08:00
always sync servernet
This commit is contained in:
parent
f5c8f6ed22
commit
d166e4b348
1 changed files with 2 additions and 2 deletions
|
|
@ -37,9 +37,9 @@ func InitializeCommsNetwork() error {
|
||||||
network.DefaultUDPHolePunch = "yes"
|
network.DefaultUDPHolePunch = "yes"
|
||||||
network.IsComms = "yes"
|
network.IsComms = "yes"
|
||||||
return logic.CreateNetwork(network)
|
return logic.CreateNetwork(network)
|
||||||
} else {
|
|
||||||
SyncServerNetwork(COMMS_NETID)
|
|
||||||
}
|
}
|
||||||
|
SyncServerNetwork(COMMS_NETID)
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue