From: Thomas Markwalder Date: Fri, 1 Dec 2023 14:50:38 +0000 (-0500) Subject: [#3110] Fixed sloppy errors X-Git-Tag: Kea-2.5.5~110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d205f0e2bca5ded795c04137d7ddb335533b63e;p=thirdparty%2Fkea.git [#3110] Fixed sloppy errors --- diff --git a/src/hooks/dhcp/high_availability/ha_service.cc b/src/hooks/dhcp/high_availability/ha_service.cc index 142109b800..2aaff5dc13 100644 --- a/src/hooks/dhcp/high_availability/ha_service.cc +++ b/src/hooks/dhcp/high_availability/ha_service.cc @@ -1245,14 +1245,8 @@ HAService::asyncSendLeaseUpdates(const dhcp::Pkt4Ptr& query, size_t HAService::asyncSendSingleLeaseUpdate(const dhcp::Pkt4Ptr& query, - const dhcp::Lease4Ptr& lease, - const hooks::ParkingLotHandlePtr& parking_lot) { - - // Get configurations of the peers. Exclude this instance. - HAConfig::PeerConfigMap peers_configs = config_->getOtherServersConfig(); - - size_t sent_num = 0; - + const dhcp::Lease4Ptr& lease, + const hooks::ParkingLotHandlePtr& parking_lot) { Lease4CollectionPtr leases(new Lease4Collection()); leases->push_back(lease); Lease4CollectionPtr deleted_leases(new Lease4Collection());