From: Roy Marples Date: Mon, 25 Apr 2016 16:23:10 +0000 (+0000) Subject: If a DHCP state is ARP probbed successfully and we're bound then don't do anything. X-Git-Tag: v6.11.0~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9921355f506ccf2a2be2282cf671ef9845259337;p=thirdparty%2Fdhcpcd.git If a DHCP state is ARP probbed successfully and we're bound then don't do anything. --- diff --git a/dhcp.c b/dhcp.c index 44c70f75..8eb42dd1 100644 --- a/dhcp.c +++ b/dhcp.c @@ -1917,6 +1917,10 @@ dhcp_arp_probed(struct arp_state *astate) return; } + /* Already bound so DAD has worked */ + if (state->state == DHS_BOUND) + return; + logger(astate->iface->ctx, LOG_DEBUG, "%s: DAD completed for %s", astate->iface->name, inet_ntoa(astate->addr)); if (state->state != DHS_INFORM)