go-ethereum/p2p/nat
Snezhkko af47d9b472
Some checks are pending
/ Linux Build (push) Waiting to run
/ Linux Build (arm) (push) Waiting to run
/ Keeper Build (push) Waiting to run
/ Windows Build (push) Waiting to run
/ Docker Image (push) Waiting to run
p2p/nat: fix err shadowing in UPnP addAnyPortMapping (#33355)
The random-port retry loop in addAnyPortMapping shadowed the err
variable, causing the function to return (0, nil) when all attempts
failed. This change removes the shadowing and preserves the last error
across both the fixed-port and random-port retries, ensuring failures
are reported to callers correctly.
2025-12-08 15:02:24 +01:00
..
nat.go
nat_test.go
natpmp.go
natupnp.go p2p/nat: fix err shadowing in UPnP addAnyPortMapping (#33355) 2025-12-08 15:02:24 +01:00
natupnp_test.go
stun-list-update.sh
stun-list.txt
stun.go
stun_test.go