From: Roy Marples Date: Fri, 9 Nov 2007 15:38:44 +0000 (+0000) Subject: Add a warning when we get am IPV4LL address and we haven't daemonised X-Git-Tag: v3.2.3~147 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=836e73524da9836d53be15c276df462788dd5a6a;p=thirdparty%2Fdhcpcd.git Add a warning when we get am IPV4LL address and we haven't daemonised --- diff --git a/client.c b/client.c index dcc6dd69..44c0c0df 100644 --- a/client.c +++ b/client.c @@ -534,6 +534,9 @@ int dhcp_run (const options_t *options, int *pidfd) if (ipv4ll_get_address (iface, dhcp) == -1) { break; } + if (! daemonised) + logger (LOG_WARNING, "using IPV4LL address %s", + inet_ntoa (dhcp->address)); timeout = dhcp->renewaltime; } #endif