InetCidr.parse/2 is deprecated

This commit is contained in:
Mark Felder 2024-01-26 15:57:50 -05:00
parent 5c5d9d9b9d
commit 18d38486a5

View file

@ -43,6 +43,6 @@ defmodule Pleroma.Web.Plugs.RemoteIp do
InetCidr.v6?(InetCidr.parse_address!(proxy)) -> proxy <> "/128"
end
InetCidr.parse(proxy, true)
InetCidr.parse_cidr!(proxy, true)
end
end