diff --git a/src/ip/Address.cc b/src/ip/Address.cc index 37570298e0f..298db47a4d0 100644 --- a/src/ip/Address.cc +++ b/src/ip/Address.cc @@ -45,7 +45,7 @@ Ip::Address::Parse(const char * const raw) { Address tmp; // TODO: Merge with lookupHostIP() after removing DNS lookups from Ip. - if (tmp.lookupHostIP(raw, false)) + if (tmp.lookupHostIP(raw, true)) return tmp; return std::nullopt; }