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
a951e1a1
Commit
a951e1a1
authored
Feb 11, 2013
by
Benoit Rat
Committed by
Alessandro Rubini
Feb 18, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flash-wrs: Check against multicast MAC address
parent
8b430614
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
flash-wrs
build/flash-wrs
+1
-1
No files found.
build/flash-wrs
View file @
a951e1a1
...
...
@@ -48,7 +48,7 @@ checkExit()
checkMAC
()
{
X
=
"[0-9a-fA-F][0-9a-fA-F]"
if
echo
$1
|
grep
"^
${
X
}
:
${
X
}
:
${
X
}
:
${
X
}
:
${
X
}
:
${
X
}
\$
"
>
/dev/null
;
then
if
echo
$1
|
grep
"^
[0-9a-fA-F][02468aceACE]
:
${
X
}
:
${
X
}
:
${
X
}
:
${
X
}
:
${
X
}
\$
"
>
/dev/null
;
then
return
0
fi
return
1
...
...
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