mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-10 09:32:32 +08:00
fixed comms id init
This commit is contained in:
parent
ffbc0db33f
commit
3157511cd5
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,8 @@ func InitializeCommsNetwork() error {
|
|||
network.DefaultUDPHolePunch = "yes"
|
||||
network.IsComms = "yes"
|
||||
logger.Log(1, "comms net does not exist, creating with ID,", network.NetID, "and CIDR,", network.AddressRange)
|
||||
return logic.CreateNetwork(network)
|
||||
_, err = logic.CreateNetwork(network)
|
||||
return err
|
||||
}
|
||||
time.Sleep(time.Second << 1)
|
||||
SyncServerNetwork(COMMS_NETID)
|
||||
|
|
Loading…
Reference in a new issue