mirror of
https://github.com/status-im/libp2p-test-plans.git
synced 2025-01-12 07:44:27 +00:00
fix
This commit is contained in:
parent
038f5e1b7a
commit
d3ae1a258d
@ -14,7 +14,7 @@ let
|
|||||||
except CatchableError: 3.minutes
|
except CatchableError: 3.minutes
|
||||||
|
|
||||||
proc main {.async.} =
|
proc main {.async.} =
|
||||||
let addresses = getInterfaces().filterIt(it.name == "eth1").mapIt(it.addresses)
|
let addresses = getInterfaces().filterIt(it.name == "eth0").mapIt(it.addresses)
|
||||||
if addresses.len < 1 or addresses[0].len < 1:
|
if addresses.len < 1 or addresses[0].len < 1:
|
||||||
quit "Can't find local ip!"
|
quit "Can't find local ip!"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user