Commit 6f9dfacd authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰 Committed by Tomek Mrugalski

[#1004] werror compilation fixes

parent 06a8a342
...@@ -986,6 +986,13 @@ TEST_F(HostMgrTest, getAllbyHostnameSubnet4) { ...@@ -986,6 +986,13 @@ TEST_F(HostMgrTest, getAllbyHostnameSubnet4) {
testGetAllbyHostnameSubnet4(*getCfgHosts(), *getCfgHosts()); testGetAllbyHostnameSubnet4(*getCfgHosts(), *getCfgHosts());
} }
// This test verifies that HostMgr returns all reservations for the specified
// hostname and DHCPv6 subnet. The reservations are defined in the server's
// configuration.
TEST_F(HostMgrTest, getAllbyHostnameSubnet6) {
testGetAllbyHostnameSubnet6(*getCfgHosts(), *getCfgHosts());
}
// This test verifies that HostMgr returns all reservations for the specified // This test verifies that HostMgr returns all reservations for the specified
// hostname and DHCPv6 subnet. The reservations are defined in the server's // hostname and DHCPv6 subnet. The reservations are defined in the server's
// configuration. // configuration.
......
...@@ -144,7 +144,7 @@ public: ...@@ -144,7 +144,7 @@ public:
/// @param hostname hostname in lower case. /// @param hostname hostname in lower case.
/// ///
/// @return Lease collection (may be empty if no IPv4 lease found). /// @return Lease collection (may be empty if no IPv4 lease found).
virtual Lease4Collection getLeases4(const std::string& hostname) const { virtual Lease4Collection getLeases4(const std::string&) const {
return (Lease4Collection()); return (Lease4Collection());
} }
...@@ -240,7 +240,7 @@ public: ...@@ -240,7 +240,7 @@ public:
/// @param hostname hostname in lower case. /// @param hostname hostname in lower case.
/// ///
/// @return Lease collection (may be empty if no IPv6 lease found). /// @return Lease collection (may be empty if no IPv6 lease found).
virtual Lease6Collection getLeases6(const std::string& hostname) const { virtual Lease6Collection getLeases6(const std::string&) const {
return (Lease6Collection()); return (Lease6Collection());
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment