2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 13:57:50 +00:00

Get rid of SO_USELOOPBACK.

This commit is contained in:
Ted Lemon 2000-05-03 06:18:03 +00:00
parent b6237fb286
commit 58a95d9dfd

View File

@ -135,14 +135,6 @@ isc_result_t omapi_listen_addr (omapi_object_t *h,
return ISC_R_UNEXPECTED;
}
/* 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;
}
/* Now tell the kernel to listen for connections. */
if (listen (obj -> socket, max)) {
omapi_object_dereference ((omapi_object_t **)&obj, MDL);