X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet.c;h=fd38c02e9f5fcb684d3cf715d9c9b344a870b66b;hp=bc3540e9c62171df5f81e07c68fc4ed321368ff7;hb=dba2995db73313b1c0a56ce13395dac0bc7571a5;hpb=4aeaea5e590fbd38aebbfacf2672304d04ba4ad1 diff --git a/src/net.c b/src/net.c index bc3540e9..fd38c02e 100644 --- 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.35.4.10 2000/06/27 20:10:48 guus Exp $ + $Id: net.c,v 1.35.4.12 2000/06/28 10:11:10 guus Exp $ */ #include "config.h" @@ -940,7 +940,7 @@ cp /* Then send a notification about all these connections to all hosts that are still connected to us. */ for(p = conn_list; p != NULL; p = p->next) - if(!p->status.remove && p->status.meta) + if(p->status.active && p->status.meta) for(q = conn_list; q != NULL; q = q->next) if(q->status.remove) send_del_host(p, q); @@ -1053,6 +1053,8 @@ cp if(lenin<=0) { + if(errno==EINTR) + return 0; syslog(LOG_ERR, _("Metadata socket read error: %m")); return -1; }