Skip to content

Commit

Permalink
add key in reply
Browse files Browse the repository at this point in the history
  • Loading branch information
MelvinTo committed Feb 20, 2024
1 parent 4f10a88 commit c5b2bcf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/interface/wireguard_intf_plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit c5b2bcf

Please sign in to comment.