From d96cb147116a60a2942542c5054c3bc45f8d8226 Mon Sep 17 00:00:00 2001 From: "Nicholas J. Kain" Date: Fri, 24 Dec 2010 10:40:46 -0500 Subject: [PATCH] Fix stale declaration of arp_check(). --- ndhc/packet.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ndhc/packet.c b/ndhc/packet.c index 8d194bf..19ad66f 100644 --- a/ndhc/packet.c +++ b/ndhc/packet.c @@ -12,6 +12,7 @@ #include "packet.h" #include "dhcpmsg.h" #include "socket.h" +#include "arp.h" #include "ifchange.h" #include "sys.h" #include "log.h" @@ -225,9 +226,6 @@ static void init_selecting_packet(struct client_state_t *cs, } } -// from ndhc.c -void arp_check(struct dhcpMessage *packet); - static void dhcp_ack_or_nak_packet(struct client_state_t *cs, struct dhcpMessage *packet, unsigned char *message) @@ -247,7 +245,7 @@ static void dhcp_ack_or_nak_packet(struct client_state_t *cs, cs->lease = RETRY_DELAY; } - arp_check(packet); + arp_check(cs, packet); // Can transition from DS_ARP_CHECK to DS_BOUND or DS_INIT_SELECTING. } else if (*message == DHCPNAK) {