0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 17:51:53 +00:00

Ignore warning when BGP peer is unreachable.

This commit is contained in:
Ondrej Zajicek 2010-08-03 01:12:43 +02:00
parent b74f45f8a0
commit f428631cd6

View File

@ -1134,7 +1134,7 @@ sk_open(sock *s)
if (connect(fd, (struct sockaddr *) &sa, sizeof(sa)) >= 0) if (connect(fd, (struct sockaddr *) &sa, sizeof(sa)) >= 0)
sk_tcp_connected(s); sk_tcp_connected(s);
else if (errno != EINTR && errno != EAGAIN && errno != EINPROGRESS && else if (errno != EINTR && errno != EAGAIN && errno != EINPROGRESS &&
errno != ECONNREFUSED && errno != EHOSTUNREACH) errno != ECONNREFUSED && errno != EHOSTUNREACH && errno != ENETUNREACH)
ERR("connect"); ERR("connect");
break; break;
case SK_TCP_PASSIVE: case SK_TCP_PASSIVE: