]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Fix fallback_discard ifdefs again.
authorTed Lemon <source@isc.org>
Wed, 7 Jul 1999 15:25:36 +0000 (15:25 +0000)
committerTed Lemon <source@isc.org>
Wed, 7 Jul 1999 15:25:36 +0000 (15:25 +0000)
includes/dhcpd.h

index 2c754458d6a49f6f33aa77a50499da404c110116..b1fd6c7e85706186e481489909f019527170c98f 100644 (file)
@@ -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 */