2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 13:28:14 +00:00

Get rid of SO_USELOOPBACK

This commit is contained in:
Ted Lemon 2000-05-09 03:06:49 +00:00
parent 8c8e27c53e
commit 6c25ecec2e

View File

@ -221,14 +221,6 @@ isc_result_t omapi_accept (omapi_object_t *h)
omapi_object_reference (&obj -> listener, omapi_object_reference (&obj -> listener,
(omapi_object_t *)listener, MDL); (omapi_object_t *)listener, MDL);
/* Set the SO_USELOOPBACK flag (this should not fail). */
i = 1;
if (setsockopt (obj -> socket, SOL_SOCKET, SO_USELOOPBACK,
(char *)&i, sizeof i) < 0) {
omapi_object_dereference ((omapi_object_t **)&obj, MDL);
return ISC_R_UNEXPECTED;
}
status = omapi_signal (h, "connect", obj); status = omapi_signal (h, "connect", obj);
/* Lose our reference to the connection, so it'll be gc'd when it's /* Lose our reference to the connection, so it'll be gc'd when it's