Commit df2b27cd authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰

[4112_rebase] Compilation fix.

parent b167235b
......@@ -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);
......
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