mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Do no add 127.0.0.1 address to trusted_proxies list by default
This commit is contained in:
parent
e369a93809
commit
432ca80db6
@ -573,7 +573,7 @@ is_ipchain_trusted(UserIPs, Masks) ->
|
||||
lists:any(
|
||||
fun({Mask, MaskLen}) ->
|
||||
acl:ip_matches_mask(IP2, Mask, MaskLen)
|
||||
end, [{{127,0,0,1}, 8} | Masks]);
|
||||
end, Masks);
|
||||
_ ->
|
||||
false
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user