dcli: actually use the provided listen address

This commit is contained in:
kdeme 2021-01-11 15:01:02 +01:00
parent 9cedbc0cc8
commit aa7442c9ff
No known key found for this signature in database
GPG Key ID: 4E8DD21420AF43F5
1 changed files with 1 additions and 1 deletions

View File

@ -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()