Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
Dnsmasq
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Dnsmasq
Commits
fc4c4fda
Commit
fc4c4fda
authored
Jul 26, 2013
by
Simon Kelley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix MAC address enumeration on *BSD.
parent
ef1a94ab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
CHANGELOG
CHANGELOG
+3
-0
src/bpf.c
src/bpf.c
+2
-1
No files found.
CHANGELOG
View file @
fc4c4fda
...
@@ -79,6 +79,9 @@ version 2.67
...
@@ -79,6 +79,9 @@ version 2.67
deprecated first. Thanks to Uwe Schindler for persuasively
deprecated first. Thanks to Uwe Schindler for persuasively
arguing for this.
arguing for this.
Fix MAC address enumeration on *BSD. Thanks to Brad Smith
for the bug report.
version 2.66
version 2.66
Add the ability to act as an authoritative DNS
Add the ability to act as an authoritative DNS
...
...
src/bpf.c
View file @
fc4c4fda
...
@@ -111,7 +111,8 @@ int iface_enumerate(int family, void *parm, int (*callback)())
...
@@ -111,7 +111,8 @@ int iface_enumerate(int family, void *parm, int (*callback)())
{
{
int
iface_index
=
if_nametoindex
(
addrs
->
ifa_name
);
int
iface_index
=
if_nametoindex
(
addrs
->
ifa_name
);
if
(
iface_index
==
0
||
!
addrs
->
ifa_addr
||
!
addrs
->
ifa_netmask
)
if
(
iface_index
==
0
||
!
addrs
->
ifa_addr
||
(
!
addrs
->
ifa_netmask
&&
family
!=
AF_LINK
))
continue
;
continue
;
if
(
family
==
AF_INET
)
if
(
family
==
AF_INET
)
...
...
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