From c5cf55eb161124b64e648b6ad5ac6a669183fec2 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Tue, 19 Nov 2019 10:14:59 +0300 Subject: [PATCH] Forgotten human printing of nncp-freq -replynice --- src/cmd/nncp-freq/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cmd/nncp-freq/main.go b/src/cmd/nncp-freq/main.go index 4332ff1..2532887 100644 --- a/src/cmd/nncp-freq/main.go +++ b/src/cmd/nncp-freq/main.go @@ -24,7 +24,6 @@ import ( "log" "os" "path/filepath" - "strconv" "strings" "go.cypherpunks.ru/nncp/v5" @@ -41,7 +40,7 @@ func main() { var ( cfgPath = flag.String("cfg", nncp.DefaultCfgPath, "Path to configuration file") niceRaw = flag.String("nice", nncp.NicenessFmt(nncp.DefaultNiceFreq), "Outbound packet niceness") - replyNiceRaw = flag.String("replynice", strconv.Itoa(nncp.DefaultNiceFile), "Reply file packet niceness") + replyNiceRaw = flag.String("replynice", nncp.NicenessFmt(nncp.DefaultNiceFile), "Reply file packet niceness") minSize = flag.Uint64("minsize", 0, "Minimal required resulting packet size, in KiB") viaOverride = flag.String("via", "", "Override Via path to destination node") spoolPath = flag.String("spool", "", "Override path to spool") -- 2.44.0