From a96305823eb0360ddd2cf7077a69cac7f55d9132 Mon Sep 17 00:00:00 2001 From: Matt Fellows Date: Mon, 20 Feb 2017 17:49:39 +1100 Subject: [PATCH] fix(windows): set default network to 'tcp' #9 --- command/daemon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/daemon.go b/command/daemon.go index 18cacc563..f3ea95644 100644 --- a/command/daemon.go +++ b/command/daemon.go @@ -27,7 +27,7 @@ var daemonCmd = &cobra.Command{ func init() { daemonCmd.Flags().IntVarP(&port, "port", "p", 6666, "Local daemon port to listen on") - daemonCmd.Flags().StringVarP(&network, "network", "n", "", "Local network interface to listen on ('tcp', 'tcp4', 'tcp6')") + daemonCmd.Flags().StringVarP(&network, "network", "n", "tcp", "Local network interface to listen on ('tcp', 'tcp4', 'tcp6')") daemonCmd.Flags().StringVarP(&address, "address", "a", "", "Local network address to listen on (e.g. '', '127.0.0.1', '[::1]' etc.)") RootCmd.AddCommand(daemonCmd) }