mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 08:16:39 +00:00
Change network mask to limit number of peers to 65k (#339)
This commit is contained in:
@@ -365,7 +365,7 @@ func toWiretrusteeConfig(config *Config, turnCredentials *TURNCredentials) *prot
|
||||
|
||||
func toPeerConfig(peer *Peer) *proto.PeerConfig {
|
||||
return &proto.PeerConfig{
|
||||
Address: peer.IP.String() + "/24", // todo make it explicit
|
||||
Address: peer.IP.String() + "/16", // todo make it explicit
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user