From: Roy Marples Date: Fri, 10 Mar 2017 21:32:55 +0000 (+0000) Subject: If the ARP socket open when starting to probe, re-apply the filter so we capture... X-Git-Tag: v7.0.0-beta1~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cae826670b05b69323dddd9031ea1d419acfee8;p=thirdparty%2Fdhcpcd.git If the ARP socket open when starting to probe, re-apply the filter so we capture any changed addresses. --- diff --git a/arp.c b/arp.c index b737d8fe..313f0d8a 100644 --- a/arp.c +++ b/arp.c @@ -272,6 +272,10 @@ arp_probe(struct arp_state *astate) logger(astate->iface->ctx, LOG_ERR, "%s: %s: %m", __func__, astate->iface->name); return; + } else { + const struct iarp_state *state = ARP_CSTATE(astate->iface); + + bpf_arp(astate->iface, state->fd); } astate->probes = 0; logger(astate->iface->ctx, LOG_DEBUG, "%s: probing for %s",