summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/pgsql_lease_mgr.h
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2022-10-29 20:06:26 +0200
committerFrancis Dupont <fdupont@isc.org>2022-11-16 23:48:28 +0100
commitad5689ad89a256af722921671c29d0671974e6ed (patch)
tree582a9d965ac6aff7e95264d85bed054ea96bb665 /src/lib/dhcpsrv/pgsql_lease_mgr.h
parent[#2596] Extended buildExtendedInfoTables6 (diff)
downloadkea-ad5689ad89a256af722921671c29d0671974e6ed.tar.xz
kea-ad5689ad89a256af722921671c29d0671974e6ed.zip
[#2596] Revamped buildExtendedInfoTables6
Diffstat (limited to 'src/lib/dhcpsrv/pgsql_lease_mgr.h')
-rw-r--r--src/lib/dhcpsrv/pgsql_lease_mgr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/dhcpsrv/pgsql_lease_mgr.h b/src/lib/dhcpsrv/pgsql_lease_mgr.h
index 238eb7900b..cfa0b277ff 100644
--- a/src/lib/dhcpsrv/pgsql_lease_mgr.h
+++ b/src/lib/dhcpsrv/pgsql_lease_mgr.h
@@ -1065,8 +1065,10 @@ private:
/// @brief Build extended info v6 tables.
///
/// @param update Update extended info in database.
+ /// @param current specify whether to use current (true) or staging
+ /// (false) config.
/// @return The number of updates in the database or 0.
- virtual size_t buildExtendedInfoTables6(bool update) override;
+ virtual size_t buildExtendedInfoTables6(bool update, bool current) override;
/// @brief Write V4 leases to a file.
virtual void writeLeases4(const std::string& /*filename*/) override;