mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 11:28:59 +00:00
Use new address schema when creating default config
This commit is contained in:
parent
72fa5a69f1
commit
875de4f637
@ -893,7 +893,7 @@ func defaultConfig(myName string) config.Configuration {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
l.Fatalln("get free port (BEP):", err)
|
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
|
return newCfg
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user