mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-29 05:17:57 +00:00
Compile fallback_discard based on USE_SOCKET_FALLBACK, not USE_SOCKET_SEND.
This commit is contained in:
parent
20c4e94d44
commit
e15381fc4c
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user