diff options
author | David Hankins <dhankins@isc.org> | 2007-12-13 16:57:39 +0000 |
---|---|---|
committer | David Hankins <dhankins@isc.org> | 2007-12-13 16:57:39 +0000 |
commit | afc784d0d67c80e9e951087203648915fc13dc11 (patch) | |
tree | 5cace542273dd47938dda4b58e366c58103b3975 | |
parent | 2ff009a3f892bce78151f58689add0ebc8aa0e4d (diff) | |
download | isc-dhcp-afc784d0d67c80e9e951087203648915fc13dc11.tar.gz |
- The 'min-secs' configuration parameter's log message has been updated to
be more helpful. [ISC-Bugs #17299]
-rw-r--r-- | RELNOTES | 3 | ||||
-rw-r--r-- | server/dhcp.c | 9 |
2 files changed, 8 insertions, 4 deletions
@@ -87,6 +87,9 @@ the README file. they were declared has been updated to be more helpful and identify the typo in configuration that created the spanning addresses. +- The 'min-secs' configuration parameter's log message has been updated to + be more helpful. + Changes since 3.1.0rc1 - The parse warning that 'deny dyanmic bootp;' must be configured for diff --git a/server/dhcp.c b/server/dhcp.c index 7f06cc93..44d99242 100644 --- a/server/dhcp.c +++ b/server/dhcp.c @@ -34,7 +34,7 @@ #ifndef lint static char copyright[] = -"$Id: dhcp.c,v 1.211.2.7 2007/11/02 22:07:06 each Exp $ Copyright (c) 2004-2007 Internet Systems Consortium. All rights reserved.\n"; +"$Id: dhcp.c,v 1.211.2.8 2007/12/13 16:57:39 dhankins Exp $ Copyright (c) 2004-2007 Internet Systems Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -1692,9 +1692,10 @@ void ack_lease (packet, lease, offer, when, msg, ms_nulltp, hp) &lease -> scope, oc, MDL)) { if (d1.len && ntohs (packet -> raw -> secs) < d1.data [0]) { - log_info ("%s: %d secs < %d", msg, - ntohs (packet -> raw -> secs), - d1.data [0]); + log_info("%s: configured min-secs value (%d) " + "is greater than secs field (%d). " + "message dropped.", msg, d1.data[0], + ntohs(packet->raw->secs)); data_string_forget (&d1, MDL); free_lease_state (state, MDL); if (host) |