diff options
author | Marcin Siodelski <marcin@isc.org> | 2024-04-18 15:25:48 +0200 |
---|---|---|
committer | Marcin Siodelski <marcin@isc.org> | 2024-06-19 12:34:18 +0200 |
commit | a52bf68db907f9dd9f7bc829bb711637909912b0 (patch) | |
tree | 96c0a561b3fa3412d56723ef7ba20f470263bcb1 /src/lib/dhcpsrv/lease.h | |
parent | [#3436] fixed compilation (diff) | |
download | kea-a52bf68db907f9dd9f7bc829bb711637909912b0.tar.xz kea-a52bf68db907f9dd9f7bc829bb711637909912b0.zip |
[#3246] Do not delete soft released leases
Diffstat (limited to 'src/lib/dhcpsrv/lease.h')
-rw-r--r-- | src/lib/dhcpsrv/lease.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/dhcpsrv/lease.h b/src/lib/dhcpsrv/lease.h index f84302d276..8e4d297d76 100644 --- a/src/lib/dhcpsrv/lease.h +++ b/src/lib/dhcpsrv/lease.h @@ -74,6 +74,9 @@ struct Lease : public isc::data::UserContext, public isc::data::CfgToElement { /// @brief Expired and reclaimed lease. static const uint32_t STATE_EXPIRED_RECLAIMED; + /// @brief Released lease held in the database for lease affinity. + static const uint32_t STATE_RELEASED; + /// @brief Returns name(s) of the basic lease state(s). /// /// @param state A numeric value holding a state information. |