mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 18:03:04 +01:00
Backported fix for CORE-1807: fbserver assigned to non-canonical port
This commit is contained in:
parent
2491e639c3
commit
ecff2ebb9e
@ -912,11 +912,12 @@ rem_port* INET_connect(const TEXT* name,
|
||||
break;
|
||||
}
|
||||
}
|
||||
else {
|
||||
inet_error(port, "bind", isc_net_connect_listen_err, INET_ERRNO);
|
||||
disconnect(port);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
if (n == -1) {
|
||||
inet_error(port, "bind", isc_net_connect_listen_err, INET_ERRNO);
|
||||
disconnect(port);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
n = listen((SOCKET) port->port_handle, 5);
|
||||
|
Loading…
Reference in New Issue
Block a user