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
|
||||
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:
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue