mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-22 16:16:34 +00:00
InetCidr.parse/2 is deprecated
This commit is contained in:
parent
5c5d9d9b9d
commit
18d38486a5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue