Mercurial > hg > dhcpcd
changeset 5295:3af9c96302a8 draft
ARP: call arp_announced when cancelling it
This signals that the announcement has finished and any BPF process
can then be closed off.
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Tue, 02 Jun 2020 11:48:35 +0100 |
| parents | 942ddb46cd55 |
| children | 3fd9a92dd852 |
| files | src/arp.c |
| diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/arp.c Tue Jun 02 03:01:37 2020 +0100 +++ b/src/arp.c Tue Jun 02 11:48:35 2020 +0100 @@ -466,11 +466,13 @@ 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); + } } }
