]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
- A log message was introduced to clarify the situation where a failover
authorDavid Hankins <dhankins@isc.org>
Tue, 8 Jan 2008 16:22:23 +0000 (16:22 +0000)
committerDavid Hankins <dhankins@isc.org>
Tue, 8 Jan 2008 16:22:23 +0000 (16:22 +0000)
  'address' parameter (the server's local address) did not resolve to an
  IPv4 address.  [ISC-Bugs #15826]

RELNOTES
server/failover.c

index 405548c22360875cfa3d83b06ca0f2ec565b6dd1..d4585604a321bf11e5d7d5cbd00723f54a94db1d 100644 (file)
--- a/RELNOTES
+++ b/RELNOTES
@@ -94,6 +94,10 @@ suggested fixes to <dhcp-users@isc.org>.
 - 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 4.0.0b3
 
 - The reverse dns name for PTR updates on IPv6 addresses has been fixed to
index c12938a28ea1a965de7e9a60d76f29b633642772..b96cc855b6f4edbd1689ea83d7aeabf0064a78fe 100644 (file)
@@ -252,6 +252,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);