Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
babeld
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
babeld
Commits
0bc32c93
Commit
0bc32c93
authored
Oct 18, 2008
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check 15 interfaces when search for MAC address.
parent
9b372b9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
babel.c
babel.c
+2
-3
No files found.
babel.c
View file @
0bc32c93
...
...
@@ -379,9 +379,8 @@ main(int argc, char **argv)
}
/* We failed to get a global EUI64 from the interfaces we were given.
Let's hope we find an interface with a MAC address among the first
five. */
for
(
i
=
0
;
i
<
5
;
i
++
)
{
Let's try to find an interface with a MAC address among the first 15. */
for
(
i
=
0
;
i
<
15
;
i
++
)
{
char
buf
[
IF_NAMESIZE
],
*
ifname
;
unsigned
char
eui
[
8
];
ifname
=
if_indextoname
(
i
,
buf
);
...
...
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