diff src/dhcp.c @ 5530:226b850d158d draft

Fix compile without various defines
author Roy Marples <roy@marples.name>
date Fri, 30 Oct 2020 22:18:57 +0000
parents 16610f4104a4
children a0d828e25482
line wrap: on
line diff
--- a/src/dhcp.c	Fri Oct 30 16:13:49 2020 +0000
+++ b/src/dhcp.c	Fri Oct 30 22:18:57 2020 +0000
@@ -2082,12 +2082,14 @@
 
 #ifdef ARP
 #ifdef KERNEL_RFC5227
+#ifdef ARPING
 static void
 dhcp_arp_announced(struct arp_state *state)
 {
 
 	arp_free(state);
 }
+#endif
 #else
 static void
 dhcp_arp_defend_failed(struct arp_state *astate)