]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Compile fallback_discard based on USE_SOCKET_FALLBACK, not USE_SOCKET_SEND.
authorTed Lemon <source@isc.org>
Thu, 27 May 1999 14:18:27 +0000 (14:18 +0000)
committerTed Lemon <source@isc.org>
Thu, 27 May 1999 14:18:27 +0000 (14:18 +0000)
common/socket.c

index 7bb49f52d17daffcf1de1a5fc6a6d0c74cafd777..ccf1cd5370cf45f85298390fa62ac9b721ba5909 100644 (file)
@@ -30,7 +30,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: socket.c,v 1.36 1999/05/06 20:21:39 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: socket.c,v 1.37 1999/05/27 14:18:27 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -224,7 +224,7 @@ ssize_t receive_packet (interface, buf, len, from, hfrom)
 }
 #endif /* USE_SOCKET_RECEIVE */
 
-#ifdef USE_SOCKET_SEND
+#if defined (USE_SOCKET_FALLBACK)
 /* This just reads in a packet and silently discards it. */
 
 void fallback_discard (protocol)