From: Marcin Siodelski Date: Thu, 26 Feb 2015 13:17:26 +0000 (+0100) Subject: [3694] Removed unused ClientContext4 member. X-Git-Tag: trac3713_base~1^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a5c01b32afdd4e296e01663f85f033bc1466f45;p=thirdparty%2Fkea.git [3694] Removed unused ClientContext4 member. --- diff --git a/src/lib/dhcpsrv/alloc_engine.cc b/src/lib/dhcpsrv/alloc_engine.cc index 86a45ab5e4..b1af149325 100644 --- a/src/lib/dhcpsrv/alloc_engine.cc +++ b/src/lib/dhcpsrv/alloc_engine.cc @@ -68,7 +68,7 @@ AllocEngine::ClientContext4::ClientContext4() requested_address_(IOAddress::IPV4_ZERO_ADDRESS()), fwd_dns_update_(false), rev_dns_update_(false), hostname_(""), callout_handle_(), fake_allocation_(false), - old_lease_(), host_(), interrupt_processing_(false) { + old_lease_(), host_() { } bool diff --git a/src/lib/dhcpsrv/alloc_engine.h b/src/lib/dhcpsrv/alloc_engine.h index 296787345d..fe3812999b 100644 --- a/src/lib/dhcpsrv/alloc_engine.h +++ b/src/lib/dhcpsrv/alloc_engine.h @@ -777,22 +777,6 @@ public: /// @brief A pointer to the object identifying host reservations. ConstHostPtr host_; - /// @brief Signals that the allocation should be interrupted. - /// - /// This flag is set by the downstream methods called by the - /// @c AllocEngine::allocateLease4. This flag is set to true to - /// indicate that an attempt to allocate a lease should be - /// interrupted. - /// - /// One possible use case is when the allocation engine tries - /// to renew the client's lease and the leased address appears - /// to be reserved for someone else. In such case, the allocation - /// engine should signal to the server that the address that the - /// client should stop using this address. The - /// @c AllocEngine::renewLease4 sets this flag so as the - /// upstream methods return the NULL lease pointer to the server. - bool interrupt_processing_; - /// @brief Default constructor. ClientContext4();