]> git.meshlink.io Git - meshlink/commitdiff
In terminate_connection, only send a notification to hosts that are directly connecte...
authorIvo Timmermans <ivo@lychnis.net>
Tue, 30 May 2000 12:38:15 +0000 (12:38 +0000)
committerIvo Timmermans <ivo@lychnis.net>
Tue, 30 May 2000 12:38:15 +0000 (12:38 +0000)
src/net.c

index 27586ec309b64f2f648c20e895566aacc27ee64f..0eb5ef38e8de6ff9c9f9bbbd73c705a4c8f7af89 100644 (file)
--- a/src/net.c
+++ b/src/net.c
@@ -17,7 +17,7 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id: net.c,v 1.33 2000/05/30 12:31:41 zarq Exp $
+    $Id: net.c,v 1.34 2000/05/30 12:38:15 zarq Exp $
 */
 
 #include "config.h"
@@ -861,7 +861,7 @@ cp
      that are still connected to us. */
   for(p = conn_list; p != NULL; p = p->next)
     {
-      if(!p->status.remove)
+      if(!p->status.remove && p->status.meta)
        for(q = conn_list; q != NULL; q = q->next)
          if(q->status.remove)
            send_del_host(p, q);