From: Sergey Matveev Date: Tue, 19 Nov 2019 07:14:59 +0000 (+0300) Subject: Forgotten human printing of nncp-freq -replynice X-Git-Tag: v5.1.0^2~10 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c5cf55eb161124b64e648b6ad5ac6a669183fec2;p=nncp.git Forgotten human printing of nncp-freq -replynice --- 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")