Commit d77c411
[netstat]: Fix for negative output values of counters after clear counters operation (sonic-net#697)
Immediately after a clear counter operation, the difference between new
counter and old counter is negative. Returning 0 in this situation1 parent fc324f2 commit d77c411
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments