From f428631cd6f48c5155bd1b7724e9bb8a545fda12 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Tue, 3 Aug 2010 01:12:43 +0200 Subject: Ignore warning when BGP peer is unreachable. --- sysdep/unix/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdep') diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index c1837f0..a552a2a 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -1134,7 +1134,7 @@ sk_open(sock *s) if (connect(fd, (struct sockaddr *) &sa, sizeof(sa)) >= 0) sk_tcp_connected(s); else if (errno != EINTR && errno != EAGAIN && errno != EINPROGRESS && - errno != ECONNREFUSED && errno != EHOSTUNREACH) + errno != ECONNREFUSED && errno != EHOSTUNREACH && errno != ENETUNREACH) ERR("connect"); break; case SK_TCP_PASSIVE: -- cgit v1.2.3