summaryrefslogtreecommitdiffstats
path: root/arp.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-02-01 17:13:19 +0000
committerRoy Marples <roy@marples.name>2009-02-01 17:13:19 +0000
commitc2189713b5853ae9b4f51d774cb8f8c5ef790efd (patch)
treebf67f72747e8e2011fa3c7f672d012d98329cfba /arp.c
parentde82635c0435bf5b36f3e45f72138f543cd2e908 (diff)
downloaddhcpcd-c2189713b5853ae9b4f51d774cb8f8c5ef790efd.tar.xz
RFC2131 implies that we should only ARP check after an offer.
Diffstat (limited to 'arp.c')
-rw-r--r--arp.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/arp.c b/arp.c
index bc1d8b14..17a3d9ad 100644
--- a/arp.c
+++ b/arp.c
@@ -242,13 +242,7 @@ send_arp_probe(void *arg)
} else {
tv.tv_sec = ANNOUNCE_WAIT;
tv.tv_usec = 0;
- /* We will bind IPv4LL and BOOTP addresses */
- if ((state->lease.server.s_addr == 0 &&
- state->lease.frominfo == 0) ||
- IN_LINKLOCAL(htonl(addr.s_addr)))
- add_timeout_tv(&tv, bind_interface, iface);
- else
- add_timeout_tv(&tv, start_request, iface);
+ add_timeout_tv(&tv, bind_interface, iface);
}
syslog(LOG_DEBUG,
"%s: sending ARP probe (%d of %d), next in %0.2f seconds",