X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fodhcp6c.c;h=b67ed11843b25cda7e13e7e6727a404f94fa0c0d;hb=31ce2ea9f57322d526daf266c7fca4bd407297cb;hp=f7ae2fb917e73b8d3be1d3dd6d810386dd3440d3;hpb=e9de72f3fc41466819f8027b6cc7a978c388ed28;p=odhcp6c.git 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