From: Roy Marples Date: Fri, 14 Oct 2016 09:19:42 +0000 (+0000) Subject: Return an error. X-Git-Tag: v7.0.0-beta1~133 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a4f7412ab2362a4dca470c7d4b0d2e87c8d42c5;p=thirdparty%2Fdhcpcd.git Return an error. --- diff --git a/dhcp.c b/dhcp.c index fedd1d0c..3d1293b2 100644 --- a/dhcp.c +++ b/dhcp.c @@ -2356,7 +2356,7 @@ dhcp_arp_address(struct interface *ifp) * then we can't ARP for duplicate detection. */ ia = ipv4_findaddr(ifp->ctx, &addr); if ((astate = arp_new(ifp, &addr)) == NULL) - return 0; + return -1; astate->probed_cb = dhcp_arp_probed; astate->conflicted_cb = dhcp_arp_conflicted;