mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Fixes a crash caused by missing error hook on BGP listening socket.
Error happened when too many BGP connections arrived in one moment (ECONNABORTED).
This commit is contained in:
@@ -947,7 +947,6 @@ sk_passive_connected(sock *s, struct sockaddr *sa, int al, int type)
|
||||
}
|
||||
else if (errno != EINTR && errno != EAGAIN)
|
||||
{
|
||||
log(L_ERR "accept: %m");
|
||||
s->err_hook(s, errno);
|
||||
}
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user