From: Ted Lemon Date: Wed, 3 May 2000 06:18:03 +0000 (+0000) Subject: Get rid of SO_USELOOPBACK. X-Git-Tag: V3-BETA-2-PATCH-1~203 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58a95d9dfd2f3f7f6b3392c46f249448ba8ee16f;p=thirdparty%2Fdhcp.git Get rid of SO_USELOOPBACK. --- diff --git a/omapip/listener.c b/omapip/listener.c index f9b67c1af..7c39654c4 100644 --- a/omapip/listener.c +++ b/omapip/listener.c @@ -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);