From b806911af7f03e26943cf8ad478ecbff619a2f6c Mon Sep 17 00:00:00 2001 From: Thomas Markwalder Date: Fri, 27 Oct 2023 15:53:43 -0400 Subject: [PATCH] [#3084] Minor clean ups src/bin/dhcp4/dhcp4_srv.cc --- src/bin/dhcp4/dhcp4_srv.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/dhcp4/dhcp4_srv.cc b/src/bin/dhcp4/dhcp4_srv.cc index 6898d60c9c..68146ad743 100644 --- a/src/bin/dhcp4/dhcp4_srv.cc +++ b/src/bin/dhcp4/dhcp4_srv.cc @@ -3940,7 +3940,7 @@ Dhcpv4Srv::declineLease(const Lease4Ptr& lease, const Pkt4Ptr& decline, } void -Dhcpv4Srv::serverDecline(hooks::CalloutHandlePtr& callout_handle, Pkt4Ptr& query, +Dhcpv4Srv::serverDecline(hooks::CalloutHandlePtr& /* callout_handle */, Pkt4Ptr& query, Lease4Ptr lease, bool lease_exists) { // We need to disassociate the lease from the client. Once we move a lease // to declined state, it is no longer associated with the client in any @@ -3964,7 +3964,7 @@ Dhcpv4Srv::serverDecline(hooks::CalloutHandlePtr& callout_handle, Pkt4Ptr& query } // Bump up the statistics. If the lease does not exist (i.e. offer-lifetime == 0) we - // need to increment assigned address stats, otherwise the accounting wll be off. + // need to increment assigned address stats, otherwise the accounting will be off. // This saves us from having to determine later, when declined leases are reclaimed, // whether or not we need to decrement assigned stats. In other words, this keeps // a declined lease always counted also as an assigned lease, regardless of how