mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-07 16:03:13 +00:00
code cleanup
This commit is contained in:
parent
43150bdbed
commit
20b6d76b42
@ -423,7 +423,7 @@ proc nattedAddress*(
|
|||||||
it.remapAddr(ip = newIP, port = tcp)
|
it.remapAddr(ip = newIP, port = tcp)
|
||||||
else:
|
else:
|
||||||
# NAT mapping failed - use original address
|
# NAT mapping failed - use original address
|
||||||
error "Failed to get external IP, using original address"
|
echo "Failed to get external IP, using original address", it
|
||||||
discoveryAddrs.add(getMultiAddrWithIPAndUDPPort(ipPart.get, udpPort))
|
discoveryAddrs.add(getMultiAddrWithIPAndUDPPort(ipPart.get, udpPort))
|
||||||
it
|
it
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user