mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-23 02:01:55 +00:00
Ignore warning when BGP peer is unreachable.
This commit is contained in:
parent
b74f45f8a0
commit
f428631cd6
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user