]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2436] Added virtual to getCLassLeaseCount
authorThomas Markwalder <tmark@isc.org>
Wed, 29 Jun 2022 12:21:56 +0000 (08:21 -0400)
committerThomas Markwalder <tmark@isc.org>
Wed, 29 Jun 2022 12:21:56 +0000 (08:21 -0400)
modified:   memfile_lease_mgr.h

src/lib/dhcpsrv/memfile_lease_mgr.h

index e0768212606b173f576d4b6db58017bc6ae7efa1..0c1b807136ba714b70458ff89d35e59af25c7157 100644 (file)
@@ -1244,7 +1244,7 @@ public:
     /// @param client_class client class for which the count is desired
     /// @param ltype type of lease for which the count is desired. Defaults to
     /// Lease::TYPE_V4.
-    size_t getClassLeaseCount(const ClientClass& client_class,
+    virtual size_t getClassLeaseCount(const ClientClass& client_class,
                               const Lease::Type& ltype = Lease::TYPE_V4) const override;
 
     /// @brief Recount the leases per class for V4 leases.