]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Get rid of SO_USELOOPBACK
authorTed Lemon <source@isc.org>
Tue, 9 May 2000 03:06:49 +0000 (03:06 +0000)
committerTed Lemon <source@isc.org>
Tue, 9 May 2000 03:06:49 +0000 (03:06 +0000)
omapip/listener.c

index 7c39654c4271cf49e8e9a9791206ae6d7de1d7e5..e059567c5e29f0725c610553363fcb3225b7cb59 100644 (file)
@@ -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