Browse Source

[3036] Logging fix (test used to fail with --enable-logger-checks)

Tomek Mrugalski 11 years ago
parent
commit
334e3b332c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/bin/dhcp6/dhcp6_srv.cc

+ 2 - 1
src/bin/dhcp6/dhcp6_srv.cc

@@ -1104,7 +1104,8 @@ Dhcpv6Srv::createRemovalNameChangeRequest(const Lease6Ptr& lease) {
     try {
         OptionDataTypeUtil::writeFqdn(lease->hostname_, hostname_wire, true);
     } catch (const Exception& ex) {
-        LOG_ERROR(dhcp6_logger, DHCP6_DDNS_REMOVE_INVALID_HOSTNAME);
+        LOG_ERROR(dhcp6_logger, DHCP6_DDNS_REMOVE_INVALID_HOSTNAME)
+            .arg(lease->hostname_);
         return;
     }