From: Tomek Mrugalski Date: Tue, 10 May 2016 14:04:17 +0000 (+0200) Subject: [4112_rebase] Compilation fix. X-Git-Tag: trac4106_update_base~25^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df2b27cd52c5e31724fe6a838baecfcb1c0490d2;p=thirdparty%2Fkea.git [4112_rebase] Compilation fix. --- diff --git a/src/lib/dhcpsrv/cfg_subnets4.cc b/src/lib/dhcpsrv/cfg_subnets4.cc index 210a0ac3b1..837d87e6ee 100644 --- a/src/lib/dhcpsrv/cfg_subnets4.cc +++ b/src/lib/dhcpsrv/cfg_subnets4.cc @@ -45,7 +45,7 @@ CfgSubnets4::selectSubnet4o6(const SubnetSelector& selector) const { // First match criteria: check if we have a prefix/len defined. std::pair 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);