diff --git a/plugins/interface/wireguard_intf_plugin.js b/plugins/interface/wireguard_intf_plugin.js index 96d8b175..03bae1b7 100644 --- a/plugins/interface/wireguard_intf_plugin.js +++ b/plugins/interface/wireguard_intf_plugin.js @@ -489,6 +489,7 @@ class WireguardMeshAutomata { delete peerCopy.useOrigEndpoint; peerCopy.type = CTRLMessages.PEER_INFO_RESPONSE; peerCopy.from = this.pubKey; + peerCopy.key = publicKey; const payload = JSON.stringify(peerCopy); this.socket.send(payload, 6666, addr); }