]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3694] Removed unused ClientContext4 member.
authorMarcin Siodelski <marcin@isc.org>
Thu, 26 Feb 2015 13:17:26 +0000 (14:17 +0100)
committerMarcin Siodelski <marcin@isc.org>
Thu, 26 Feb 2015 13:17:26 +0000 (14:17 +0100)
src/lib/dhcpsrv/alloc_engine.cc
src/lib/dhcpsrv/alloc_engine.h

index 86a45ab5e4bc117720b577b0af1a5b7177aa033e..b1af1493250cfb392d5d11d52fe96fdb054393e6 100644 (file)
@@ -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
index 296787345daa068f87aad84ccea92391248f4d31..fe3812999b672844772113a9d2c833d044b416ad 100644 (file)
@@ -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();