summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/pgsql_lease_mgr.h
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2022-09-22 23:23:31 +0200
committerThomas Markwalder <tmark@isc.org>2022-09-23 11:52:44 +0200
commit4843d24d15e60cd7b1f87ed917171971742b7e95 (patch)
tree6a9eb592104f59861fdbfd90ae51fdcaa6d1e78d /src/lib/dhcpsrv/pgsql_lease_mgr.h
parent[#2571] Fixed test lease manager (diff)
downloadkea-4843d24d15e60cd7b1f87ed917171971742b7e95.tar.xz
kea-4843d24d15e60cd7b1f87ed917171971742b7e95.zip
[#2571] Fixed override and indent
Diffstat (limited to 'src/lib/dhcpsrv/pgsql_lease_mgr.h')
-rw-r--r--src/lib/dhcpsrv/pgsql_lease_mgr.h47
1 files changed, 26 insertions, 21 deletions
diff --git a/src/lib/dhcpsrv/pgsql_lease_mgr.h b/src/lib/dhcpsrv/pgsql_lease_mgr.h
index 039c5a97ab..820be40516 100644
--- a/src/lib/dhcpsrv/pgsql_lease_mgr.h
+++ b/src/lib/dhcpsrv/pgsql_lease_mgr.h
@@ -987,11 +987,12 @@ private:
/// or equal to this value will be included
///
/// @return collection of IPv4 leases
- virtual Lease4Collection getLeases4ByRelayId(const OptionBuffer& relay_id,
- const asiolink::IOAddress& lower_bound_address,
- const LeasePageSize& page_size,
- const time_t& qry_start_time = 0,
- const time_t& qry_end_time = 0);
+ virtual Lease4Collection
+ getLeases4ByRelayId(const OptionBuffer& relay_id,
+ const asiolink::IOAddress& lower_bound_address,
+ const LeasePageSize& page_size,
+ const time_t& qry_start_time = 0,
+ const time_t& qry_end_time = 0) override;
/// @brief Returns existing IPv4 leases with a given remote-id.
///
@@ -1005,11 +1006,12 @@ private:
/// or equal to this value will be included. Defaults to zero.
///
/// @return collection of IPv4 leases
- virtual Lease4Collection getLeases4ByRemoteId(const OptionBuffer& remote_id,
- const asiolink::IOAddress& lower_bound_address,
- const LeasePageSize& page_size,
- const time_t& qry_start_time = 0,
- const time_t& qry_end_time = 0);
+ virtual Lease4Collection
+ getLeases4ByRemoteId(const OptionBuffer& remote_id,
+ const asiolink::IOAddress& lower_bound_address,
+ const LeasePageSize& page_size,
+ const time_t& qry_start_time = 0,
+ const time_t& qry_end_time = 0) override;
/// @brief Returns existing IPv6 leases with a given relay-id.
///
@@ -1020,10 +1022,11 @@ private:
/// @param page_size maximum size of the page returned.
///
/// @return collection of IPv6 leases
- virtual Lease6Collection getLeases6ByRelayId(const DUID& relay_id,
- const asiolink::IOAddress& link_addr,
- const asiolink::IOAddress& lower_bound_address,
- const LeasePageSize& page_size);
+ virtual Lease6Collection
+ getLeases6ByRelayId(const DUID& relay_id,
+ const asiolink::IOAddress& link_addr,
+ const asiolink::IOAddress& lower_bound_address,
+ const LeasePageSize& page_size) override;
/// @brief Returns existing IPv6 leases with a given remote-id.
///
@@ -1034,10 +1037,11 @@ private:
/// @param page_size maximum size of the page returned.
///
/// @return collection of IPv6 leases
- virtual Lease6Collection getLeases6ByRemoteId(const OptionBuffer& remote_id,
- const asiolink::IOAddress& link_addr,
- const asiolink::IOAddress& lower_bound_address,
- const LeasePageSize& page_size);
+ virtual Lease6Collection
+ getLeases6ByRemoteId(const OptionBuffer& remote_id,
+ const asiolink::IOAddress& link_addr,
+ const asiolink::IOAddress& lower_bound_address,
+ const LeasePageSize& page_size) override;
/// @brief Returns existing IPv6 leases with on a given link.
///
@@ -1047,9 +1051,10 @@ private:
/// @param page_size maximum size of the page returned.
///
/// @return collection of IPv6 leases
- virtual Lease6Collection getLeases6ByLink(const asiolink::IOAddress& link_addr,
- const asiolink::IOAddress& lower_bound_address,
- const LeasePageSize& page_size);
+ virtual Lease6Collection
+ getLeases6ByLink(const asiolink::IOAddress& link_addr,
+ const asiolink::IOAddress& lower_bound_address,
+ const LeasePageSize& page_size) override;
/// @brief Context RAII Allocator.
class PgSqlLeaseContextAlloc {