InetCidr.parse/2 is deprecated
This commit is contained in:
parent
5c5d9d9b9d
commit
18d38486a5
|
@ -43,6 +43,6 @@ defp maybe_add_cidr(proxy) when is_binary(proxy) do
|
|||
InetCidr.v6?(InetCidr.parse_address!(proxy)) -> proxy <> "/128"
|
||||
end
|
||||
|
||||
InetCidr.parse(proxy, true)
|
||||
InetCidr.parse_cidr!(proxy, true)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue