]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Fix if_deregister_send compilation on old linuces.
authorTed Lemon <source@isc.org>
Tue, 12 Sep 2000 20:23:54 +0000 (20:23 +0000)
committerTed Lemon <source@isc.org>
Tue, 12 Sep 2000 20:23:54 +0000 (20:23 +0000)
common/socket.c

index d15f3be1d3a858b12733a0f288a781ee153ae56e..9b55f675405a314316b4f9aa9e0524559ab3c0de 100644 (file)
@@ -51,7 +51,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: socket.c,v 1.53 2000/09/11 17:39:14 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: socket.c,v 1.54 2000/09/12 20:23:54 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -184,7 +184,7 @@ void if_register_send (info)
                       info -> shared_network -> name : ""));
 }
 
-#if !defined (USE_SOCKET_FALLBACK)
+#if defined (USE_SOCKET_SEND)
 void if_deregister_send (info)
        struct interface_info *info;
 {
@@ -200,7 +200,7 @@ void if_deregister_send (info)
                      (info -> shared_network ?
                       info -> shared_network -> name : ""));
 }
-#endif /* !USE_SOCKET_FALLBACK */
+#endif /* USE_SOCKET_SEND */
 #endif /* USE_SOCKET_SEND || USE_SOCKET_FALLBACK */
 
 #ifdef USE_SOCKET_RECEIVE