We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67c2b0b commit d487552Copy full SHA for d487552
codex/nat.nim
@@ -423,10 +423,12 @@ proc nattedAddress*(
423
it.remapAddr(ip = newIP, port = tcp)
424
else:
425
# NAT mapping failed - use original address
426
- echo "Failed to get external IP, using original address", it
+ # TODO: `trace` breaks in the mapIt template
427
+ # trace "Failed to get external IP, using original address", it
428
discoveryAddrs.add(getMultiAddrWithIPAndUDPPort(ipPart.get, udpPort))
429
it
430
431
# Invalid multiaddress format - return as is
432
433
+
434
(newAddrs, discoveryAddrs)
0 commit comments