summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/network.h
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2023-03-06 16:25:24 +0100
committerThomas Markwalder <tmark@isc.org>2023-03-23 12:17:48 +0100
commitef3281460d623c0275e2d44a20d4757b21e403a8 (patch)
treea74e38dfe0aeec54fee54a15678e63a0f9199de1 /src/lib/dhcpsrv/network.h
parent[#2719] kea-dhcp4 offer-lft is now functional (diff)
downloadkea-ef3281460d623c0275e2d44a20d4757b21e403a8.tar.xz
kea-ef3281460d623c0275e2d44a20d4757b21e403a8.zip
[#2719] Renamed parameter and added it to classes
Renamed offer-lft to offer-lifetime to match other lifetime parameters.
Diffstat (limited to 'src/lib/dhcpsrv/network.h')
-rw-r--r--src/lib/dhcpsrv/network.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dhcpsrv/network.h b/src/lib/dhcpsrv/network.h
index 8f2acff806..e6b81bfc25 100644
--- a/src/lib/dhcpsrv/network.h
+++ b/src/lib/dhcpsrv/network.h
@@ -1325,7 +1325,7 @@ public:
getOfferLft(const Inheritance& inheritance = Inheritance::ALL) const {
return (getProperty<Network4>(&Network4::getOfferLft, offer_lft_,
inheritance,
- CfgGlobals::OFFER_LFT));
+ CfgGlobals::OFFER_LIFETIME));
}
/// @brief Unparses network object.