diff --git a/src/utils.cpp b/src/utils.cpp index 4dbbd5b..e090e8b 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -271,7 +271,7 @@ bool get_ip_from_ip_addr_result(const std::string& result, const std::string& if } else if (iface_cur.find(iface) != std::string::npos) { - std::string:size_type deprecated_pos = line.find("deprecated"); + std::string::size_type deprecated_pos = line.find("deprecated"); if (std::string::npos != deprecated_pos) continue; std::string::size_type inet6_pos = line.find("inet6 ");