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

index f9b67c1af16ebf53492ecf6e459f774c48146142..7c39654c4271cf49e8e9a9791206ae6d7de1d7e5 100644 (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);