From: Roy Marples Date: Tue, 2 Jun 2020 10:48:35 +0000 (+0100) Subject: ARP: call arp_announced when cancelling it X-Git-Tag: v9.1.1~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12962d2cf34fda6a15d2ac4f4500138ebfc16429;p=thirdparty%2Fdhcpcd.git ARP: call arp_announced when cancelling it This signals that the announcement has finished and any BPF process can then be closed off. --- diff --git a/src/arp.c b/src/arp.c index db1e188c..fef12425 100644 --- a/src/arp.c +++ b/src/arp.c @@ -466,11 +466,13 @@ arp_announce(struct arp_state *astate) a2); if (r == -1) logerr(__func__); - else if (r != 0) + else if (r != 0) { logdebugx("%s: ARP announcement " "of %s cancelled", a2->iface->name, inet_ntoa(a2->addr)); + arp_announced(a2); + } } }