]> Cypherpunks.ru repositories - nncp.git/commitdiff
Forgotten human printing of nncp-freq -replynice
authorSergey Matveev <stargrave@stargrave.org>
Tue, 19 Nov 2019 07:14:59 +0000 (10:14 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 24 Nov 2019 15:08:51 +0000 (18:08 +0300)
src/cmd/nncp-freq/main.go

index 4332ff1ca1906ad02db2b7d47521ffe4d3cbf1d4..25328875426a525d23035044449ccab3b784d286 100644 (file)
@@ -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")