From e937c8426879e5c7241698f57e3696a28954fc7e Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Mon, 9 Jan 2017 21:24:53 +0300 Subject: [PATCH] Listen on all IPv6 addresses by default --- src/cypherpunks.ru/nncp/cmd/nncp-daemon/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cypherpunks.ru/nncp/cmd/nncp-daemon/main.go b/src/cypherpunks.ru/nncp/cmd/nncp-daemon/main.go index 66f553e..a9bfcfe 100644 --- a/src/cypherpunks.ru/nncp/cmd/nncp-daemon/main.go +++ b/src/cypherpunks.ru/nncp/cmd/nncp-daemon/main.go @@ -43,7 +43,7 @@ func main() { var ( cfgPath = flag.String("cfg", nncp.DefaultCfgPath, "Path to configuration file") niceRaw = flag.Int("nice", 255, "Minimal required niceness") - bind = flag.String("bind", ":5400", "Address to bind to") + bind = flag.String("bind", "[::]:5400", "Address to bind to") maxConn = flag.Int("maxconn", 128, "Maximal number of simultaneous connections") quiet = flag.Bool("quiet", false, "Print only errors") debug = flag.Bool("debug", false, "Enable debugging information") -- 2.48.1