InetCidr.parse/2 is deprecated

This commit is contained in:
Mark Felder 2024-01-26 15:57:50 -05:00
parent 5c5d9d9b9d
commit 18d38486a5
1 changed files with 1 additions and 1 deletions

View File

@ -43,6 +43,6 @@ defp maybe_add_cidr(proxy) when is_binary(proxy) do
InetCidr.v6?(InetCidr.parse_address!(proxy)) -> proxy <> "/128" InetCidr.v6?(InetCidr.parse_address!(proxy)) -> proxy <> "/128"
end end
InetCidr.parse(proxy, true) InetCidr.parse_cidr!(proxy, true)
end end
end end