diff --git a/eth/net/nat.nim b/eth/net/nat.nim index 10f598c..578c116 100644 --- a/eth/net/nat.nim +++ b/eth/net/nat.nim @@ -70,6 +70,8 @@ proc getExternalIP*(natStrategy: NatStrategy, quiet = false): Opt[IpAddress] = canContinue = false of IGDFound: msg = "Internet Gateway Device found." + of IGDIpNotRoutable: + msg = "Internet Gateway Device found and is connected, but with a reserved or non-routable IP. Trying anyway." of IGDNotConnected: msg = "Internet Gateway Device found but it's not connected. Trying anyway." of NotAnIGD: diff --git a/tests/p2p/test_protocol_handlers.nim b/tests/p2p/test_protocol_handlers.nim index 2c29ae3..bf98685 100644 --- a/tests/p2p/test_protocol_handlers.nim +++ b/tests/p2p/test_protocol_handlers.nim @@ -1,6 +1,6 @@ # # Ethereum P2P -# (c) Copyright 2018 +# (c) Copyright 2018-2024 # Status Research & Development GmbH # # Licensed under either of @@ -10,7 +10,6 @@ {.used.} import - std/tables, chronos, testutils/unittests, ../../eth/p2p, ../stubloglevel,