diff options
author | Francis Dupont <fdupont@isc.org> | 2023-12-14 15:21:15 +0100 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2024-01-17 11:06:16 +0100 |
commit | 032a8ad465b57d7ffeb119c34c3e5606f81c57bf (patch) | |
tree | 03a92d3721a5a8686252c4d285bd6e27a192aa95 /src/lib/dhcpsrv/pgsql_lease_mgr.h | |
parent | [#3149] Fixed mysql admin tests (diff) | |
download | kea-032a8ad465b57d7ffeb119c34c3e5606f81c57bf.tar.xz kea-032a8ad465b57d7ffeb119c34c3e5606f81c57bf.zip |
[#3149] Rewrote getLeases6ByLink
Diffstat (limited to 'src/lib/dhcpsrv/pgsql_lease_mgr.h')
-rw-r--r-- | src/lib/dhcpsrv/pgsql_lease_mgr.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/dhcpsrv/pgsql_lease_mgr.h b/src/lib/dhcpsrv/pgsql_lease_mgr.h index dd461b1945..5617f058c7 100644 --- a/src/lib/dhcpsrv/pgsql_lease_mgr.h +++ b/src/lib/dhcpsrv/pgsql_lease_mgr.h @@ -1095,16 +1095,14 @@ public: /// @brief Returns existing IPv6 leases with on a given link. /// - /// @param link_addr limit results to leases on this link (prefix). - /// @param link_len limit results to leases on this link (length). + /// @param subnet_id subnet identifier. /// @param lower_bound_address IPv4 address used as lower bound for the /// returned range. /// @param page_size maximum size of the page returned. /// /// @return collection of IPv6 leases virtual Lease6Collection - getLeases6ByLink(const asiolink::IOAddress& link_addr, - uint8_t link_len, + getLeases6ByLink(SubnetID subnet_id, const asiolink::IOAddress& lower_bound_address, const LeasePageSize& page_size) override; |