Skip to content
Snippets Groups Projects
Commit b5ee6e91 authored by Adam Wujek's avatar Adam Wujek
Browse files

userspace/snmpd: handle correctly wrsPortStatusTable if number of ports < 18


Signed-off-by: default avatarAdam Wujek <dev_public@wujek.eu>
parent 567d5b91
Branches
Tags
No related merge requests found
......@@ -70,7 +70,7 @@ time_t wrsPortStatusTable_data_fill(unsigned int *n_rows)
n_rows_local = 0;
return time_cur;
} else {
n_rows_local = WRS_N_PORTS;
n_rows_local = hal_nports_local;
}
if (n_rows)
......
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