X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fprotocol_auth.c;h=fe87323bc8c8f9728cdd8965b654d3c45b9524f0;hb=158cbe99f972a1613b7d4d95abfe5fe48e019e67;hp=4caaf20396bc08883abcb99a1ed706d140e6a818;hpb=1564f52f7643c554ec49a3e014bc9b9a8745c856;p=meshlink diff --git a/src/protocol_auth.c b/src/protocol_auth.c index 4caaf203..fe87323b 100644 --- a/src/protocol_auth.c +++ b/src/protocol_auth.c @@ -1,7 +1,6 @@ /* protocol_auth.c -- handle the meta-protocol, authentication - Copyright (C) 1999-2005 Ivo Timmermans, - 2000-2014 Guus Sliepen + Copyright (C) 2014 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -781,10 +780,7 @@ bool ack_h(connection_t *c, const char *request) { /* Notify everyone of the new edge */ - if(tunnelserver) - send_add_edge(c, c->edge); - else - send_add_edge(everyone, c->edge); + send_add_edge(everyone, c->edge); /* Run MST and SSSP algorithms */