Change network mask to limit number of peers to 65k (#339)

This commit is contained in:
Misha Bragin
2022-05-28 12:54:09 +02:00
committed by GitHub
parent feff6dc966
commit 59a964eed8
5 changed files with 5 additions and 5 deletions

View File

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