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
1e11bf4b
Commit
1e11bf4b
authored
Feb 08, 2013
by
Benoit Rat
Committed by
Alessandro Rubini
Feb 18, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrsw_rtud: Correct how MAC is checked in exports.c
parent
2b7fadba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
rtud_exports.c
userspace/wrsw_rtud/rtud_exports.c
+2
-2
No files found.
userspace/wrsw_rtud/rtud_exports.c
View file @
1e11bf4b
...
...
@@ -123,8 +123,8 @@ int rtudexp_add_entry(const struct minipc_pd *pd,
halexp_query_ports
(
&
ports
);
if
(
mac_from_str
(
mac_tmp
,
strEHA
))
TRACE
(
TRACE_ERROR
,
"%s is an invalid MAC format (XX:XX:XX:XX:XX)"
,
strEHA
);
if
(
mac_from_str
(
mac_tmp
,
strEHA
)
!=
ETH_ALEN
)
TRACE
(
TRACE_ERROR
,
"%s is an invalid MAC format (XX:XX:XX:XX:XX
:XX
)"
,
strEHA
);
TRACE
(
TRACE_INFO
,
"Create entry for (MAC=%s) port %x, mode:%s"
,
mac_to_string
(
mac_tmp
),
1
<<
port
,(
mode
)
?
"DYNAMIC"
:
"STATIC"
);
...
...
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