From 58a95d9dfd2f3f7f6b3392c46f249448ba8ee16f Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Wed, 3 May 2000 06:18:03 +0000 Subject: [PATCH] Get rid of SO_USELOOPBACK. --- omapip/listener.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/omapip/listener.c b/omapip/listener.c index f9b67c1a..7c39654c 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);