From 2e371e1d00fd5a1efb436f6b49135f27c66bce15 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Tue, 31 Jan 2017 11:30:50 +0300 Subject: [PATCH] Fix default niceness level option --- src/cypherpunks.ru/nncp/cmd/nncp-file/main.go | 2 +- src/cypherpunks.ru/nncp/cmd/nncp-freq/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cypherpunks.ru/nncp/cmd/nncp-file/main.go b/src/cypherpunks.ru/nncp/cmd/nncp-file/main.go index 3291c3a..4fafc48 100644 --- a/src/cypherpunks.ru/nncp/cmd/nncp-file/main.go +++ b/src/cypherpunks.ru/nncp/cmd/nncp-file/main.go @@ -40,7 +40,7 @@ func usage() { func main() { var ( cfgPath = flag.String("cfg", nncp.DefaultCfgPath, "Path to configuration file") - niceRaw = flag.Int("nice", nncp.DefaultNiceMail, "Outbound packet niceness") + niceRaw = flag.Int("nice", nncp.DefaultNiceFile, "Outbound packet niceness") minSize = flag.Uint64("minsize", 0, "Minimal required resulting packet size") quiet = flag.Bool("quiet", false, "Print only errors") debug = flag.Bool("debug", false, "Print debug messages") diff --git a/src/cypherpunks.ru/nncp/cmd/nncp-freq/main.go b/src/cypherpunks.ru/nncp/cmd/nncp-freq/main.go index 2641da0..d570bdf 100644 --- a/src/cypherpunks.ru/nncp/cmd/nncp-freq/main.go +++ b/src/cypherpunks.ru/nncp/cmd/nncp-freq/main.go @@ -40,7 +40,7 @@ func usage() { func main() { var ( cfgPath = flag.String("cfg", nncp.DefaultCfgPath, "Path to configuration file") - niceRaw = flag.Int("nice", nncp.DefaultNiceMail, "Outbound packet niceness") + niceRaw = flag.Int("nice", nncp.DefaultNiceFreq, "Outbound packet niceness") minSize = flag.Uint64("minsize", 0, "Minimal required resulting packet size") quiet = flag.Bool("quiet", false, "Print only errors") debug = flag.Bool("debug", false, "Print debug messages") -- 2.44.0