diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-08-03 01:12:43 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-10-04 20:09:02 +0200 |
commit | bf5aa0d17cd9a96b22397d5d2dd7c03197838067 (patch) | |
tree | b40f9250c8a74fb88d29e43bf1c1693a6422fd2a | |
parent | 487e90fbdf9362ca0eafc80a606c7f75e4eef31f (diff) |
Ignore warning when BGP peer is unreachable.
-rw-r--r-- | sysdep/unix/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index 690c8fc9..77922252 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -1129,7 +1129,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: |