Commit b46f079b authored by Grzegorz Daniluk's avatar Grzegorz Daniluk Committed by Adam Wujek

snmpd: rtu status should be based on RxDropRTUFull counter

parent f7aea4ee
......@@ -144,7 +144,7 @@ static int get_rtu_status(struct ns_pstats *old,
/* values from 2.2.4 "RTU is full and cannot accept more requests" in
* wrs_failures document shouldn't increase */
for (i = 0; i < rows; i++) {
if ((new[i].TXUnderrun - old[i].TXUnderrun) > 0) {
if ((new[i].RXDropRTUFull - old[i].RXDropRTUFull) > 0) {
/* if error, no need to check more, but do it just for
* logs */
ret = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment