mirror of
https://codeberg.org/icewind/real-ip.git
synced 2026-10-01 09:04:12 +02:00
Merge pull request 'Remove leftover dbg!' (#2) from tisba/real-ip:remove-dbg into main
Reviewed-on: https://codeberg.org/icewind/real-ip/pulls/2
This commit is contained in:
commit
df0dae5c9d
1 changed files with 0 additions and 1 deletions
|
|
@ -74,7 +74,6 @@ pub fn real_ip(headers: &HeaderMap, remote: IpAddr, trusted_proxies: &[IpNet]) -
|
|||
|
||||
'outer: for hop in hops.rev() {
|
||||
for proxy in trusted_proxies {
|
||||
dbg!(proxy);
|
||||
if proxy.contains(&hop) {
|
||||
continue 'outer;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue