Skip to content

Commit

Permalink
Merge pull request #441 from cybwan/fix-issue
Browse files Browse the repository at this point in the history
add error stats
  • Loading branch information
UltraInstinct14 authored Nov 13, 2023
2 parents 8ec4e62 + 5b60001 commit 8ea1f0e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions loxinet/port.go
Original file line number Diff line number Diff line change
Expand Up @@ -611,8 +611,10 @@ func (P *PortsH) PortsToGet() ([]cmn.PortDump, error) {
if opCode == 0 {
ports.Stats.RxBytes = ifis.Ifs[tk.RxBytes]
ports.Stats.RxPackets = ifis.Ifs[tk.RxPkts]
ports.Stats.RxError = ifis.Ifs[tk.RxErrors]
ports.Stats.TxBytes = ifis.Ifs[tk.TxBytes]
ports.Stats.TxPackets = ifis.Ifs[tk.TxPkts]
ports.Stats.TxError = ifis.Ifs[tk.TxErrors]
}

routed := false
Expand Down

0 comments on commit 8ea1f0e

Please sign in to comment.