]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Now ARP checks all interfaces for false positives, we can check ARP again.
authorRoy Marples <roy@marples.name>
Fri, 10 Oct 2014 09:13:32 +0000 (09:13 +0000)
committerRoy Marples <roy@marples.name>
Fri, 10 Oct 2014 09:13:32 +0000 (09:13 +0000)
dhcp.c

diff --git a/dhcp.c b/dhcp.c
index ccc94b1ffbce00b10848f6e7db3cf1808843969f..38692dc094d0b123544c622ed6171ced390c7620 100644 (file)
--- a/dhcp.c
+++ b/dhcp.c
@@ -2565,7 +2565,7 @@ dhcp_handledhcp(struct interface *iface, struct dhcp_message **dhcpp,
                /* If the interface already has the address configured
                 * then we can't ARP for duplicate detection. */
                addr.s_addr = state->offer->yiaddr;
-               if (!ipv4_findaddr(iface->ctx, &addr)) {
+               if (!ipv4_iffindaddr(iface, &addr, NULL)) {
                        state->claims = 0;
                        state->probes = 0;
                        state->conflicts = 0;