projects
/
oweals
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e59627
)
Fix reload
author
Steven Barth
<steven@midlink.org>
Mon, 14 Oct 2013 19:42:21 +0000
(21:42 +0200)
committer
Steven Barth
<steven@midlink.org>
Mon, 14 Oct 2013 19:42:21 +0000
(21:42 +0200)
src/config.c
patch
|
blob
|
history
diff --git
a/src/config.c
b/src/config.c
index ebc664262d8331788ec31449446c6ab946d55d9f..5bb1a0e93ae6c188f978b3e80895a6a8884862e0 100644
(file)
--- a/
src/config.c
+++ b/
src/config.c
@@
-466,7
+466,7
@@
static int set_interface(struct uci_section *s)
}
-static volatile
bool
do_reload = false;
+static volatile
int
do_reload = false;
static void set_stop(int signal)
{
uloop_end();
@@
-481,7
+481,7
@@
void odhcpd_run(void)
signal(SIGINT, set_stop);
do {
- do_reload = false;
+ do_reload =
uloop_cancelled =
false;
struct lease *l;
list_for_each_entry(l, &leases, head) {