X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fprotocol_key.c;h=59ca7db499e540bc331dcd34e7848f078597567f;hb=eb049936ffce049cf6b53de8ca0f39c98a360363;hp=c490a8d215bab845a19a07884e645a9a34aaf7d9;hpb=752526ca2fd3a0c5b730d1d96540118ff54c462b;p=meshlink diff --git a/src/protocol_key.c b/src/protocol_key.c index c490a8d2..59ca7db4 100644 --- a/src/protocol_key.c +++ b/src/protocol_key.c @@ -36,7 +36,7 @@ static bool mykeyused = false; void send_key_changed(void) { - send_request(everyone, "%d %x %s", KEY_CHANGED, rand(), mesh->self->name); + send_request(mesh->everyone, "%d %x %s", KEY_CHANGED, rand(), mesh->self->name); /* Force key exchange for connections using SPTPS */