]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/cmd/nncp-stat/main.go
Ignore many errors
[nncp.git] / src / cmd / nncp-stat / main.go
index d80999595411b14abd6790412636174f0c5142b6..fa33d4c40c98deafb6611e096ee98d7548a7bf8a 100644 (file)
@@ -99,7 +99,7 @@ func main() {
                rxNums := make(map[uint8]int)
                rxBytes := make(map[uint8]int64)
                for job := range ctx.Jobs(node.Id, nncp.TRx) {
-                       job.Fd.Close()
+                       job.Fd.Close() // #nosec G104
                        if *showPkt {
                                jobPrint(nncp.TRx, job)
                        }
@@ -109,7 +109,7 @@ func main() {
                txNums := make(map[uint8]int)
                txBytes := make(map[uint8]int64)
                for job := range ctx.Jobs(node.Id, nncp.TTx) {
-                       job.Fd.Close()
+                       job.Fd.Close() // #nosec G104
                        if *showPkt {
                                jobPrint(nncp.TRx, job)
                        }