diff options
author | David Hankins <dhankins@isc.org> | 2008-01-08 16:23:21 +0000 |
---|---|---|
committer | David Hankins <dhankins@isc.org> | 2008-01-08 16:23:21 +0000 |
commit | 6cebe3439fe9afa7276f7548c98ee1b5ed8b48f1 (patch) | |
tree | 5e8898a3a8a2535c3cad4ab7f3302cd3d4c97bed | |
parent | d16ddfda7103fedd106fef71daf99aff5e0b6725 (diff) | |
download | isc-dhcp-6cebe3439fe9afa7276f7548c98ee1b5ed8b48f1.tar.gz |
- A log message was introduced to clarify the situation where a failover
'address' parameter (the server's local address) did not resolve to an
IPv4 address. [ISC-Bugs #15826]
-rw-r--r-- | RELNOTES | 4 | ||||
-rw-r--r-- | server/failover.c | 5 |
2 files changed, 8 insertions, 1 deletions
@@ -104,6 +104,10 @@ the README file. - A bug was fixed where the 'giaddr' may be used to find the client's subnet rather than its own 'ciaddr'. +- A log message was introduced to clarify the situation where a failover + 'address' parameter (the server's local address) did not resolve to an + IPv4 address. + Changes since 3.1.0rc1 - The parse warning that 'deny dyanmic bootp;' must be configured for diff --git a/server/failover.c b/server/failover.c index 6a4ae1ca..d3670db8 100644 --- a/server/failover.c +++ b/server/failover.c @@ -34,7 +34,7 @@ #ifndef lint static char copyright[] = -"$Id: failover.c,v 1.63.56.15 2007/12/18 18:05:23 dhankins Exp $ Copyright (c) 2004-2007 Internet Systems Consortium. All rights reserved.\n"; +"$Id: failover.c,v 1.63.56.16 2008/01/08 16:23:21 dhankins Exp $ Copyright (c) 2004-2007 Internet Systems Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -255,6 +255,9 @@ isc_result_t dhcp_failover_link_initiate (omapi_object_t *h) } } else { if (ds.len != sizeof (struct in_addr)) { + log_error("failover peer %s: 'address' parameter " + "fails to resolve to an IPv4 address", + state->name); data_string_forget (&ds, MDL); dhcp_failover_link_dereference (&obj, MDL); omapi_addr_list_dereference (&addrs, MDL); |