diff options
| author | Roy Marples <roy@marples.name> | 2016-10-14 09:19:42 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2016-10-14 09:19:42 +0000 |
| commit | 5a4f7412ab2362a4dca470c7d4b0d2e87c8d42c5 (patch) | |
| tree | 0b14b0d2fec1f3afaee383f7bc91c5a7a4628f42 | |
| parent | 9bdb3d38f0f7743bd11bd14c6a4c2bb379934927 (diff) | |
| download | dhcpcd-5a4f7412ab2362a4dca470c7d4b0d2e87c8d42c5.tar.xz | |
Return an error.
| -rw-r--r-- | dhcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
