From: Roy Marples Date: Thu, 2 Jan 2020 16:07:58 +0000 (+0000) Subject: inet: Open ARP for probing when not in privsep. X-Git-Tag: v9.0.0~158 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4b32a414e8f9735fbe7dfe1f7a782116897e7dc;p=thirdparty%2Fdhcpcd.git inet: Open ARP for probing when not in privsep. --- diff --git a/src/arp.c b/src/arp.c index b062704d..2bf9516f 100644 --- a/src/arp.c +++ b/src/arp.c @@ -412,6 +412,11 @@ arp_probe(struct arp_state *astate) astate->probes = 0; logdebugx("%s: probing for %s", astate->iface->name, inet_ntoa(astate->addr)); + if (!(IN_PRIVSEP(astate->iface->ctx)) && arp_open(astate->iface) == -1) + { + logerr(__func__); + return; + } arp_probe1(astate); } #endif /* ARP */