mirror of https://github.com/status-im/nim-eth.git
handle new UPnP return value (#728)
This commit is contained in:
parent
f2568a64c0
commit
11eafac0f0
|
@ -70,6 +70,8 @@ proc getExternalIP*(natStrategy: NatStrategy, quiet = false): Opt[IpAddress] =
|
||||||
canContinue = false
|
canContinue = false
|
||||||
of IGDFound:
|
of IGDFound:
|
||||||
msg = "Internet Gateway Device found."
|
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:
|
of IGDNotConnected:
|
||||||
msg = "Internet Gateway Device found but it's not connected. Trying anyway."
|
msg = "Internet Gateway Device found but it's not connected. Trying anyway."
|
||||||
of NotAnIGD:
|
of NotAnIGD:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#
|
#
|
||||||
# Ethereum P2P
|
# Ethereum P2P
|
||||||
# (c) Copyright 2018
|
# (c) Copyright 2018-2024
|
||||||
# Status Research & Development GmbH
|
# Status Research & Development GmbH
|
||||||
#
|
#
|
||||||
# Licensed under either of
|
# Licensed under either of
|
||||||
|
@ -10,7 +10,6 @@
|
||||||
{.used.}
|
{.used.}
|
||||||
|
|
||||||
import
|
import
|
||||||
std/tables,
|
|
||||||
chronos, testutils/unittests,
|
chronos, testutils/unittests,
|
||||||
../../eth/p2p,
|
../../eth/p2p,
|
||||||
../stubloglevel,
|
../stubloglevel,
|
||||||
|
|
Loading…
Reference in New Issue