if (start <= raddr && raddr <= end && dhcpv4_test(iface, raddr)) {
assign->addr = raddr;
list_add(&assign->head, &iface->dhcpv4_assignments);
- syslog(LOG_DEBUG, "assigning the IP the client asked for: %u.%u.%u.%u",
+ syslog(LOG_INFO, "assigning the IP the client asked for: %u.%u.%u.%u",
(assign->addr & 0xff000000) >> 24,
(assign->addr & 0x00ff0000) >> 16,
(assign->addr & 0x0000ff00) >> 8,
if (list_empty(&iface->dhcpv4_assignments)) {
assign->addr = try;
list_add(&assign->head, &iface->dhcpv4_assignments);
- syslog(LOG_DEBUG, "assigning mapped IP (empty list): %u.%u.%u.%u",
+ syslog(LOG_INFO, "assigning mapped IP (empty list): %u.%u.%u.%u",
(assign->addr & 0xff000000) >> 24,
(assign->addr & 0x00ff0000) >> 16,
(assign->addr & 0x0000ff00) >> 8,
try = (((try - start) + 1) % count) + start;
}
- syslog(LOG_DEBUG, "can't assign any IP address -> address space is full");
+ syslog(LOG_WARNING, "can't assign any IP address -> address space is full");
return false;
}
dhcpv6_ia_postupdate(iface, now);
if (change) {
- syslog(LOG_DEBUG, "Raising SIGUSR1 due to address change");
+ syslog(LOG_INFO, "Raising SIGUSR1 due to address change on %s", iface->ifname);
raise(SIGUSR1);
}
}
if (is_route) {
// Inform about a change in default route
if (rtm->rtm_dst_len == 0) {
- syslog(LOG_DEBUG, "Raising SIGUSR1 due to default route change");
+ syslog(LOG_INFO, "Raising SIGUSR1 due to default route change");
raise(SIGUSR1);
}