Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
a002b0fc
Commit
a002b0fc
authored
Feb 18, 2016
by
Adam Wujek
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userspace/tools: rename network interfaces from wrX to wriX+1 in wr_mon
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
5f5e38bb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wr_mon.c
userspace/tools/wr_mon.c
+1
-1
No files found.
userspace/tools/wr_mon.c
View file @
a002b0fc
...
@@ -247,7 +247,7 @@ void show_ports(void)
...
@@ -247,7 +247,7 @@ void show_ports(void)
int
print_port
=
0
;
int
print_port
=
0
;
int
print_mode_color
=
0
;
int
print_mode_color
=
0
;
snprintf
(
if_name
,
10
,
"wr
%d"
,
i
);
snprintf
(
if_name
,
10
,
"wr
i%d"
,
i
+
1
);
port_state
=
hal_lookup_port
(
hal_ports_local_copy
,
port_state
=
hal_lookup_port
(
hal_ports_local_copy
,
hal_nports_local
,
if_name
);
hal_nports_local
,
if_name
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment