From: Ted Lemon Date: Tue, 9 May 2000 03:06:49 +0000 (+0000) Subject: Get rid of SO_USELOOPBACK X-Git-Tag: V3-BETA-2-PATCH-1~188 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c25ecec2e4e1180dfe7b503602bf11b6e3c2052;p=thirdparty%2Fdhcp.git Get rid of SO_USELOOPBACK --- diff --git a/omapip/listener.c b/omapip/listener.c index 7c39654c4..e059567c5 100644 --- a/omapip/listener.c +++ b/omapip/listener.c @@ -221,14 +221,6 @@ isc_result_t omapi_accept (omapi_object_t *h) omapi_object_reference (&obj -> listener, (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); /* Lose our reference to the connection, so it'll be gc'd when it's