X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fodhcpd.git;a=blobdiff_plain;f=src%2Fdhcpv4.c;h=5ef99b13f317fedd6196455f81f54b0ed5461445;hp=3fca8865be46cea11ecc6e541b2501fcbb7da1c6;hb=da660c752d1c177934a01e28c68368879523b74d;hpb=048558077d1bcd4c4e5a7f45b020ae3a879965e4;ds=sidebyside diff --git a/src/dhcpv4.c b/src/dhcpv4.c index 3fca886..5ef99b1 100644 --- a/src/dhcpv4.c +++ b/src/dhcpv4.c @@ -540,7 +540,7 @@ static bool dhcpv4_assign(struct interface *iface, 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, @@ -563,7 +563,7 @@ static bool dhcpv4_assign(struct interface *iface, 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, @@ -586,7 +586,7 @@ static bool dhcpv4_assign(struct interface *iface, 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; }