diff options
author | Steven Barth <steven@midlink.org> | 2013-02-11 14:08:05 +0100 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2013-02-11 14:08:05 +0100 |
commit | 31ce2ea9f57322d526daf266c7fca4bd407297cb (patch) | |
tree | 8b889c50f68d4fdc7ce6aa2c9c85f672f4dd225a /src/odhcp6c.c | |
parent | e9de72f3fc41466819f8027b6cc7a978c388ed28 (diff) | |
download | odhcp6c-31ce2ea9f57322d526daf266c7fca4bd407297cb.tar.gz |
Be less verbose in log
Diffstat (limited to 'src/odhcp6c.c')
-rw-r--r-- | src/odhcp6c.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/odhcp6c.c b/src/odhcp6c.c index f7ae2fb..b67ed11 100644 --- a/src/odhcp6c.c +++ b/src/odhcp6c.c @@ -183,6 +183,8 @@ int main(_unused int argc, char* const argv[]) dhcpv6_set_ia_na_mode(ia_na_mode); bound = false; + syslog(LOG_NOTICE, "(re)starting transaction on %s", ifname); + do_signal = 0; int res = dhcpv6_request(DHCPV6_MSG_SOLICIT); odhcp6c_signal_process(); @@ -203,6 +205,7 @@ int main(_unused int argc, char* const argv[]) script_call("informed"); bound = true; + syslog(LOG_NOTICE, "entering stateless-mode on %s", ifname); if (dhcpv6_poll_reconfigure() > 0) script_call("informed"); @@ -218,6 +221,7 @@ int main(_unused int argc, char* const argv[]) odhcp6c_signal_process(); script_call("bound"); bound = true; + syslog(LOG_NOTICE, "entering stateful-mode on %s", ifname); while (do_signal == 0 || do_signal == SIGUSR1) { // Renew Cycle |