From 875de4f63705acd7acf82aa6e55ae5ff57170bac Mon Sep 17 00:00:00 2001 From: AudriusButkevicius Date: Thu, 27 Aug 2015 19:14:20 +0100 Subject: [PATCH] Use new address schema when creating default config --- cmd/syncthing/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/syncthing/main.go b/cmd/syncthing/main.go index 80d89315a..4518732e9 100644 --- a/cmd/syncthing/main.go +++ b/cmd/syncthing/main.go @@ -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 }