commit: 18d38486a568f8cda8ab0f6227959810b253e75a
parent 5c5d9d9b9d8dfe55d930bbc4194a901b64c76f94
Author: Mark Felder <feld@feld.me>
Date: Fri, 26 Jan 2024 15:57:50 -0500
InetCidr.parse/2 is deprecated
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pleroma/web/plugs/remote_ip.ex b/lib/pleroma/web/plugs/remote_ip.ex
@@ -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