diff options
author | Tomek Mrugalski <tomasz@isc.org> | 2015-09-22 20:36:47 +0200 |
---|---|---|
committer | Tomek Mrugalski <tomasz@isc.org> | 2015-09-22 20:36:47 +0200 |
commit | 664ac1eabaeea7fda4a53e2a2a32b21076bbb128 (patch) | |
tree | 79507098a3f5f4485259d59e7a09adbb932752e5 /src/lib/dhcpsrv/lease.h | |
parent | [master] Merge branch 'trac3973' (diff) | |
download | kea-664ac1eabaeea7fda4a53e2a2a32b21076bbb128.tar.xz kea-664ac1eabaeea7fda4a53e2a2a32b21076bbb128.zip |
[3984] Declined IPv4 leases reclaimation implemented
Diffstat (limited to 'src/lib/dhcpsrv/lease.h')
-rw-r--r-- | src/lib/dhcpsrv/lease.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/dhcpsrv/lease.h b/src/lib/dhcpsrv/lease.h index 18d19be29c..a8b65be51a 100644 --- a/src/lib/dhcpsrv/lease.h +++ b/src/lib/dhcpsrv/lease.h @@ -177,6 +177,11 @@ struct Lease { /// otherwise. bool stateExpiredReclaimed() const; + /// @brief Indicates if the lease is in the "declined" state. + /// + /// @return true if the lease is in the "declined" state, false otherwise. + bool stateDeclined() const; + /// @brief Returns true if the other lease has equal FQDN data. /// /// @param other Lease which FQDN data is to be compared with our lease. |