mirror of https://github.com/status-im/nim-eth.git
dcli: actually use the provided listen address
This commit is contained in:
parent
9cedbc0cc8
commit
aa7442c9ff
|
@ -163,7 +163,7 @@ proc run(config: DiscoveryConf) =
|
|||
let
|
||||
(ip, tcpPort, udpPort) = setupNat(config)
|
||||
d = newProtocol(config.nodeKey, ip, tcpPort, udpPort,
|
||||
bootstrapRecords = config.bootnodes)
|
||||
bootstrapRecords = config.bootnodes, bindIp = config.listenAddress)
|
||||
|
||||
d.open()
|
||||
|
||||
|
|
Loading…
Reference in New Issue