Add the ability to see switch ports and DHT

This commit is contained in:
Neil Alexander 2018-01-21 12:57:54 +00:00
parent b754d68068
commit c4ac0a90ac
2 changed files with 31 additions and 5 deletions

View file

@ -96,7 +96,7 @@ func generateConfig() *nodeConfig {
spub, spriv := core.DEBUG_newSigKeys()
cfg := nodeConfig{}
cfg.Listen = "[::]:0"
cfg.AdminListen = "[::]:0"
cfg.AdminListen = "[::1]:9001"
cfg.BoxPub = hex.EncodeToString(bpub[:])
cfg.BoxPriv = hex.EncodeToString(bpriv[:])
cfg.SigPub = hex.EncodeToString(spub[:])