summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-08-03 01:12:43 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2010-08-03 01:12:43 +0200
commitf428631cd6f48c5155bd1b7724e9bb8a545fda12 (patch)
treef1ab135cc3b760deb1896004a6483118043705fd
parentb74f45f8a05444dca16f0995c7d201ea592ce299 (diff)
downloadbird-f428631cd6f48c5155bd1b7724e9bb8a545fda12.tar
bird-f428631cd6f48c5155bd1b7724e9bb8a545fda12.zip
Ignore warning when BGP peer is unreachable.
-rw-r--r--sysdep/unix/io.c2
1 files changed, 1 insertions, 1 deletions
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: