cmd/bootnode, p2p: support for alternate mapped ports (#26359)
This changes the port mapping procedure such that, when the requested port is unavailable
an alternative port suggested by the router is used instead.
We now also repeatedly request the external IP from the router in order to catch any IP changes.
Co-authored-by:
Felix Lange <fjl@twurst.com>
Showing
p2p/server_nat.go
0 → 100644
p2p/server_nat_test.go
0 → 100644
Please register or sign in to comment