From de0b91d1570ae5a6a3d1d26f725e07a6b82d59cf Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Mon, 1 Sep 2014 20:03:41 +0200 Subject: [PATCH] Show IPv6 GUI URL correctly --- 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 45cc81390..3e51d3750 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)