From b5c11cbecc8012ea5e387f40cc8a6b33ee446c2c Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Wed, 7 Jul 1999 15:25:36 +0000 Subject: [PATCH] Fix fallback_discard ifdefs again. --- includes/dhcpd.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/includes/dhcpd.h b/includes/dhcpd.h index 2c754458d..b1fd6c7e8 100644 --- a/includes/dhcpd.h +++ b/includes/dhcpd.h @@ -1140,13 +1140,15 @@ ssize_t receive_packet PROTO ((struct interface_info *, unsigned char *, size_t, struct sockaddr_in *, struct hardware *)); #endif -#if defined (USE_SOCKET_SEND) + +#if defined (USE_SOCKET_SEND) || defined (USE_SOCKET_FALLBACK) void fallback_discard PROTO ((struct protocol *)); -# if !defined (USE_SOCKET_FALLBACK) +#endif + +#if defined (USE_SOCKET_SEND) && !defined (USE_SOCKET_FALLBACK) int can_unicast_without_arp PROTO ((struct interface_info *)); int can_receive_unicast_unconfigured PROTO ((struct interface_info *)); void maybe_setup_fallback PROTO ((void)); -# endif #endif /* bpf.c */ -- 2.47.3