]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix pointer.
authorRoy Marples <roy@marples.name>
Wed, 17 Sep 2008 10:37:03 +0000 (10:37 +0000)
committerRoy Marples <roy@marples.name>
Wed, 17 Sep 2008 10:37:03 +0000 (10:37 +0000)
dhcpcd.c

index d883beee7d2eab479eedb5655aee451ae58db665..3d984b1feae6638caa0a8a08279bb3dfa325493c 100644 (file)
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -738,7 +738,7 @@ start_reboot(struct interface *iface)
                add_timeout_sec(ifo->reboot, start_expire, iface);
        open_sockets(iface);
        if (ifo->options & DHCPCD_ARP &&
-           !has_address(iface, &iface->state->lease.addr, NULL))
+           !has_address(iface->name, &iface->state->lease.addr, NULL))
        {
                iface->state->probes = 0;
                send_arp_probe(iface);