]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
We should inform the user we're checking the address ourselves.
authorRoy Marples <roy@marples.name>
Fri, 4 Jul 2008 08:34:56 +0000 (08:34 +0000)
committerRoy Marples <roy@marples.name>
Fri, 4 Jul 2008 08:34:56 +0000 (08:34 +0000)
client.c

index 12472ec5d04a9480fafb3b477243aab32ab50a79..83ad3731ce3fbc5a3a5b90da1c9d1695d63b5bec 100644 (file)
--- a/client.c
+++ b/client.c
@@ -994,6 +994,10 @@ handle_timeout(struct if_state *state, const struct options *options)
                if (iface->arp_fd == -1)
                        open_socket(iface, ETHERTYPE_ARP);
                if (state->probes < PROBE_NUM) {
+                       if (state->probes == 0)
+                               logger(LOG_INFO, "checking %s is available"
+                                      " on attached networks",
+                                      inet_ntoa(lease->addr));
                        state->probes++;
                        logger(LOG_DEBUG, "sending ARP probe #%d",
                               state->probes);