Commit 9d9e5b1b authored by Adam Wujek's avatar Adam Wujek 💬

userspace/snmpd: change the name of net interfaces in wrsPortStatusTable

interfaces renamed from wrX to wriX+1
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 6ba15fe7
......@@ -67,7 +67,7 @@ time_t wrsPortStatusTable_data_fill(unsigned int *n_rows)
/* Assume that number of ports does not change between
* reads */
snprintf(wrsPortStatusTable_array[i].port_name, 10,
"wr%d", i);
"wri%d", i + 1);
port_state = hal_lookup_port(hal_ports,
hal_nports_local,
wrsPortStatusTable_array[i].port_name);
......
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