From: Ted Lemon Date: Thu, 27 May 1999 14:18:27 +0000 (+0000) Subject: Compile fallback_discard based on USE_SOCKET_FALLBACK, not USE_SOCKET_SEND. X-Git-Tag: V3-ALPHA-19990527~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e15381fc4cb23e2176e9a802bb06fc8e6643c26c;p=thirdparty%2Fdhcp.git Compile fallback_discard based on USE_SOCKET_FALLBACK, not USE_SOCKET_SEND. --- diff --git a/common/socket.c b/common/socket.c index 7bb49f52d..ccf1cd537 100644 --- a/common/socket.c +++ b/common/socket.c @@ -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)