]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4112_rebase] Compilation fix.
authorTomek Mrugalski <tomasz@isc.org>
Tue, 10 May 2016 14:04:17 +0000 (16:04 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Tue, 10 May 2016 14:04:17 +0000 (16:04 +0200)
src/lib/dhcpsrv/cfg_subnets4.cc

index 210a0ac3b138bbf2f3a0ee0f14200638e7fdeade..837d87e6ee61eb77c4858adc15b477999b86eaee 100644 (file)
@@ -45,7 +45,7 @@ CfgSubnets4::selectSubnet4o6(const SubnetSelector& selector) const {
 
         // First match criteria: check if we have a prefix/len defined.
         std::pair<asiolink::IOAddress, uint8_t> pref = cfg4o6.getSubnet4o6();
-        if (!IOAddress::isV6Zero(pref.first)) {
+        if (!pref.first.isV6Zero()) {
 
             // Let's check if the IPv6 address is in range
             IOAddress first = firstAddrInPrefix(pref.first, pref.second);