]> Cypherpunks.ru repositories - nncp.git/commitdiff
Fix nncp-stat -pkt direction output
authorSergey Matveev <stargrave@stargrave.org>
Wed, 6 Jan 2021 20:51:12 +0000 (23:51 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 6 Jan 2021 20:51:46 +0000 (23:51 +0300)
doc/news.ru.texi
doc/news.texi
src/cmd/nncp-stat/main.go

index 70bbe2f404509e79e6550f061576b650d831ac49..f9ff365817f6487713f7c97651e81abf640454df 100644 (file)
@@ -6,8 +6,8 @@
 @itemize
 
 @item
-Исправления ошибок в @command{nncp-call(er)}/@command{nncp-daemon} и
-@command{nncp-bundle} командах.
+Исправления ошибок в @command{nncp-call(er)}/@command{nncp-daemon},
+@command{nncp-bundle}, @command{nncp-stat} командах.
 
 @item
 У команды @command{nncp-rm} появились @option{-dryrun} и @option{-older} опции.
index b7c4e538c5687e92cc959d767dad5a3daafb08ca..30f1c99221e12225bb78b0c83b685a9fe9de4ba3 100644 (file)
@@ -8,8 +8,8 @@ See also this page @ref{Новости, on russian}.
 @itemize
 
 @item
-Bugfixes in @command{nncp-call(er)}/@command{nncp-daemon} and
-@command{nncp-bundle}.
+Bugfixes in @command{nncp-call(er)}/@command{nncp-daemon},
+@command{nncp-bundle} and @command{nncp-stat}.
 
 @item
 @command{nncp-rm} has @option{-dryrun} and @option{-older} options now.
index 34eebd9e50f7044e7b461ec053848bfacc071fd8..04aaed24c0d5eef77a0ea0bfb5665a28c2b48898 100644 (file)
@@ -111,7 +111,7 @@ func main() {
                for job := range ctx.Jobs(node.Id, nncp.TTx) {
                        job.Fd.Close() // #nosec G104
                        if *showPkt {
-                               jobPrint(nncp.TRx, job)
+                               jobPrint(nncp.TTx, job)
                        }
                        txNums[job.PktEnc.Nice] = txNums[job.PktEnc.Nice] + 1
                        txBytes[job.PktEnc.Nice] = txBytes[job.PktEnc.Nice] + job.Size