mirror of
https://github.com/gravitl/netmaker.git
synced 2026-04-23 00:17:10 +08:00
fixed hub logic
This commit is contained in:
@@ -33,7 +33,7 @@ func InitializeCommsNetwork() error {
|
||||
var network models.Network
|
||||
network.NetID = COMMS_NETID
|
||||
network.AddressRange = servercfg.GetCommsCIDR()
|
||||
network.IsHubAndSpoke = "yes"
|
||||
network.IsPointToSite = "yes"
|
||||
network.DefaultUDPHolePunch = "yes"
|
||||
network.IsComms = "yes"
|
||||
return logic.CreateNetwork(network)
|
||||
|
||||
Reference in New Issue
Block a user