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();
script_call("informed");
bound = true;
+ syslog(LOG_NOTICE, "entering stateless-mode on %s", ifname);
if (dhcpv6_poll_reconfigure() > 0)
script_call("informed");
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
void script_call(const char *status)
{
- syslog(LOG_WARNING, "State for %s changed to %s", argv[1], status);
size_t dns_len, search_len, custom_len, sntp_ip_len, sntp_dns_len;
size_t sip_ip_len, sip_fqdn_len;