mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
In UNIX domain socket GC regression test, after setting a socket
non-blocking, EINPROGRESS is an acceptable result from connect().
This commit is contained in:
parent
ae46d95884
commit
0ca4746bcb
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ static void
|
|||
my_connect(int sock, struct sockaddr *sa, socklen_t len)
|
||||
{
|
||||
|
||||
if (connect(sock, sa, len) < 0)
|
||||
if (connect(sock, sa, len) < 0 && errno != EINPROGRESS)
|
||||
err(-1, "%s: connect", test);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue