From: Roy Marples Date: Fri, 10 Mar 2017 08:37:04 +0000 (+0000) Subject: We're no longer interested in Unicast Poll. X-Git-Tag: v7.0.0-beta1~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=826772b9bae5c2a79e002bfc80ce7a6570b2a173;p=thirdparty%2Fdhcpcd.git We're no longer interested in Unicast Poll. --- diff --git a/arp.c b/arp.c index 9c0e3ade..63cb7cf8 100644 --- a/arp.c +++ b/arp.c @@ -162,21 +162,6 @@ arp_packet(struct interface *ifp, uint8_t *data, size_t len) memcpy(&arm.tha, hw_t, ar.ar_hln); memcpy(&arm.tip.s_addr, hw_t + ar.ar_hln, ar.ar_pln); - /* Ignore ARP Unicast Poll, RFC 1122 */ - if (arm.sip.s_addr == INADDR_ANY && - (arm.tha[0] != 0 || - memcmp(arm.tha, arm.tha + 1, (size_t)ar.ar_hln - 1))) - { -#ifdef ARP_DEBUG - char buf[HWADDR_LEN * 3]; - - logger(ifp->ctx, LOG_DEBUG, - "%s: ignoring ARP Unicast Poll from %s", ifp->name, - hwaddr_ntoa(arm.tha, ar.ar_hln, buf, sizeof(buf))); -#endif - return; - } - /* Run the conflicts */ state = ARP_CSTATE(ifp); TAILQ_FOREACH_SAFE(astate, &state->arp_states, next, astaten) {