fixed comms id init

This commit is contained in:
0xdcarns 2022-03-17 13:14:06 -04:00
parent ffbc0db33f
commit 3157511cd5

View file

@ -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)