]> git.meshlink.io Git - meshlink/blobdiff - src/protocol_auth.c
Remove everything GPL that is not copyright Guus Sliepen, update copyright statements.
[meshlink] / src / protocol_auth.c
index 4caaf20396bc08883abcb99a1ed706d140e6a818..fe87323bc8c8f9728cdd8965b654d3c45b9524f0 100644 (file)
@@ -1,7 +1,6 @@
 /*
     protocol_auth.c -- handle the meta-protocol, authentication
-    Copyright (C) 1999-2005 Ivo Timmermans,
-                  2000-2014 Guus Sliepen <guus@tinc-vpn.org>
+    Copyright (C) 2014 Guus Sliepen <guus@meshlink.io>
 
     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 */