Use new address schema when creating default config

This commit is contained in:
AudriusButkevicius 2015-08-27 19:14:20 +01:00
parent 72fa5a69f1
commit 875de4f637

View File

@ -893,7 +893,7 @@ func defaultConfig(myName string) config.Configuration {
if err != nil {
l.Fatalln("get free port (BEP):", err)
}
newCfg.Options.ListenAddress = []string{fmt.Sprintf("0.0.0.0:%d", port)}
newCfg.Options.ListenAddress = []string{fmt.Sprintf("tcp://0.0.0.0:%d", port)}
return newCfg
}