Ignore warning when BGP peer is unreachable.
This commit is contained in:
parent
b74f45f8a0
commit
f428631cd6
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue