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
741c2952
Commit
741c2952
authored
Feb 25, 2012
by
Simon Kelley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tidy up RA scheduling.
parent
96f6979c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
2 deletions
+8
-2
src/dnsmasq.c
src/dnsmasq.c
+5
-0
src/dnsmasq.h
src/dnsmasq.h
+1
-0
src/netlink.c
src/netlink.c
+1
-1
src/radv.c
src/radv.c
+1
-1
No files found.
src/dnsmasq.c
View file @
741c2952
...
...
@@ -831,6 +831,11 @@ static void sig_handler(int sig)
}
}
void
send_alarm
(
void
)
{
send_event
(
pipewrite
,
EVENT_ALARM
,
0
,
NULL
);
}
void
send_event
(
int
fd
,
int
event
,
int
data
,
char
*
msg
)
{
struct
event_desc
ev
;
...
...
src/dnsmasq.h
View file @
741c2952
...
...
@@ -967,6 +967,7 @@ unsigned char *extended_hwaddr(int hwtype, int hwlen, unsigned char *hwaddr,
int
make_icmp_sock
(
void
);
int
icmp_ping
(
struct
in_addr
addr
);
#endif
void
send_alarm
(
void
);
void
send_event
(
int
fd
,
int
event
,
int
data
,
char
*
msg
);
void
clear_cache_and_reload
(
time_t
now
);
void
poll_resolv
(
int
force
,
int
do_reload
,
time_t
now
);
...
...
src/netlink.c
View file @
741c2952
...
...
@@ -348,7 +348,7 @@ static void nl_routechange(struct nlmsghdr *h)
ra_start_unsolicted
(
dnsmasq_time
());
/* cause lease_update_file to run after we return, in case we were called from
iface_enumerate and can't re-enter it now */
alarm
(
1
);
send_alarm
(
);
}
#endif
...
...
src/radv.c
View file @
741c2952
...
...
@@ -399,7 +399,7 @@ static int iface_search(struct in6_addr *local, int prefix,
int
scope
,
int
if_index
,
int
dad
,
void
*
vparam
)
{
struct
search_param
*
param
=
vparam
;
struct
dhcp_context
*
context
,
*
tmp
;
struct
dhcp_context
*
context
;
(
void
)
scope
;
(
void
)
dad
;
...
...
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