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) {