diff options
author | Jakob Borg <jakob@nym.se> | 2014-09-01 20:03:41 +0200 |
---|---|---|
committer | Jakob Borg <jakob@nym.se> | 2014-09-01 20:04:22 +0200 |
commit | de0b91d1570ae5a6a3d1d26f725e07a6b82d59cf (patch) | |
tree | 9853a37c18dfc3d29e8942d89c88d3dad0af5fa7 | |
parent | 2e77e498f5188c9b02bd1d91f85df86e3239663b (diff) |
Show IPv6 GUI URL correctly
-rw-r--r-- | cmd/syncthing/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/syncthing/main.go b/cmd/syncthing/main.go index 45cc813905..3e51d37506 100644 --- a/cmd/syncthing/main.go +++ b/cmd/syncthing/main.go @@ -468,7 +468,7 @@ nextRepo: proto = "https" } - l.Infof("Starting web GUI on %s://%s:%d/", proto, hostShow, addr.Port) + l.Infof("Starting web GUI on %s://%s/", proto, net.JoinHostPort(hostShow, strconv.Itoa(addr.Port))) err := startGUI(guiCfg, os.Getenv("STGUIASSETS"), m) if err != nil { l.Fatalln("Cannot start GUI:", err) |