mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 08:47:35 +08:00
removing pubkey update
This commit is contained in:
@@ -232,7 +232,7 @@ func InitWireguard(node *nodepb.Node, privkey string, peers []wgtypes.PeerConfig
|
||||
nodeport = int(node.Listenport)
|
||||
|
||||
conf := wgtypes.Config{}
|
||||
if nodecfg.UDPHolePunch == "yes" {
|
||||
if nodecfg.UDPHolePunch == "yes" && nodecfg.Name != "netmaker" {
|
||||
conf = wgtypes.Config{
|
||||
PrivateKey: &key,
|
||||
ReplacePeers: true,
|
||||
|
Reference in New Issue
Block a user