InetHelper: Don't use deprecated function.

This commit is contained in:
Lain Soykaf 2024-05-27 19:44:41 +04:00
parent d3e85da0fd
commit e4f1325f78
1 changed files with 1 additions and 1 deletions

View File

@ -25,6 +25,6 @@ def parse_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