Commit a002b0fc authored by Adam Wujek's avatar Adam Wujek 💬

userspace/tools: rename network interfaces from wrX to wriX+1 in wr_mon

Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 5f5e38bb
......@@ -247,7 +247,7 @@ void show_ports(void)
int print_port = 0;
int print_mode_color = 0;
snprintf(if_name, 10, "wr%d", i);
snprintf(if_name, 10, "wri%d", i + 1);
port_state = hal_lookup_port(hal_ports_local_copy,
hal_nports_local, if_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