InetHelper: Don't use deprecated function.
This commit is contained in:
parent
d3e85da0fd
commit
e4f1325f78
|
@ -25,6 +25,6 @@ def parse_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
|
||||||
|
|
Loading…
Reference in New Issue