summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/alloc_engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dhcpsrv/alloc_engine.h')
-rw-r--r--src/lib/dhcpsrv/alloc_engine.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/dhcpsrv/alloc_engine.h b/src/lib/dhcpsrv/alloc_engine.h
index 6d33e74967..ef22751a41 100644
--- a/src/lib/dhcpsrv/alloc_engine.h
+++ b/src/lib/dhcpsrv/alloc_engine.h
@@ -473,6 +473,11 @@ public:
/// update existing lease.
bool fake_allocation_;
+ /// @brief Indicates if early global reservation is looked for.
+ ///
+ /// This caches the early-global-reservations-lookup value.
+ bool early_global_reservations_lookup_;
+
/// @brief Subnet selected for the client by the server.
Subnet6Ptr subnet_;
@@ -1373,6 +1378,11 @@ public:
/// information to the allocation engine methods is that adding
/// new information doesn't modify the API of the allocation engine.
struct ClientContext4 : public boost::noncopyable {
+ /// @brief Indicates if early global reservation is looked for.
+ ///
+ /// This caches the early-global-reservations-lookup value.
+ bool early_global_reservations_lookup_;
+
/// @brief Subnet selected for the client by the server.
Subnet4Ptr subnet_;