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
d89fb4ed
Commit
d89fb4ed
authored
Dec 01, 2012
by
Simon Kelley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check interface for router advertisements.
parent
295a54ee
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
CHANGELOG
CHANGELOG
+4
-0
src/dbus.c
src/dbus.c
+1
-1
src/radv.c
src/radv.c
+2
-1
No files found.
CHANGELOG
View file @
d89fb4ed
...
@@ -54,6 +54,10 @@ version 2.64
...
@@ -54,6 +54,10 @@ version 2.64
Makefile tweak to do dependency checking on header files.
Makefile tweak to do dependency checking on header files.
Thanks to Johan Peeters for the patch.
Thanks to Johan Peeters for the patch.
Check interface for outgoing unsolicited router
advertisements, rather than relying on interface address
configuration. Thanks to Gene Czarinski for the patch.
version 2.63
version 2.63
...
...
src/dbus.c
View file @
d89fb4ed
...
@@ -327,7 +327,7 @@ static DBusMessage* dbus_read_servers_ex(DBusMessage *message, int strings)
...
@@ -327,7 +327,7 @@ static DBusMessage* dbus_read_servers_ex(DBusMessage *message, int strings)
const
char
*
str
=
NULL
;
const
char
*
str
=
NULL
;
union
mysockaddr
addr
,
source_addr
;
union
mysockaddr
addr
,
source_addr
;
char
interface
[
IF_NAMESIZE
];
char
interface
[
IF_NAMESIZE
];
char
*
str_addr
,
*
str_domain
;
char
*
str_addr
,
*
str_domain
=
NULL
;
if
(
strings
)
if
(
strings
)
{
{
...
...
src/radv.c
View file @
d89fb4ed
...
@@ -482,7 +482,8 @@ time_t periodic_ra(time_t now)
...
@@ -482,7 +482,8 @@ time_t periodic_ra(time_t now)
ever be able to send ra's and satistfy it. */
ever be able to send ra's and satistfy it. */
if
(
iface_enumerate
(
AF_INET6
,
&
param
,
iface_search
))
if
(
iface_enumerate
(
AF_INET6
,
&
param
,
iface_search
))
context
->
ra_time
=
0
;
context
->
ra_time
=
0
;
else
if
(
indextoname
(
daemon
->
icmp6fd
,
param
.
iface
,
interface
))
else
if
(
indextoname
(
daemon
->
icmp6fd
,
param
.
iface
,
interface
)
&&
iface_check
(
AF_LOCAL
,
NULL
,
interface
))
send_ra
(
param
.
iface
,
interface
,
NULL
);
send_ra
(
param
.
iface
,
interface
,
NULL
);
}
}
...
...
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