projects
/
project
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a94aff0
)
Respect interface "ignore" settings as documented.
author
Karl Palsson
<karlp@etactica.com>
Wed, 28 Sep 2016 16:32:41 +0000
(16:32 +0000)
committer
John Crispin
<john@phrozen.org>
Mon, 21 Nov 2016 11:13:51 +0000
(12:13 +0100)
The "ignore" option is correctly loaded. Actually observe it as
documented.
Signed-off-by: Karl Palsson <karlp@etactica.com>
src/config.c
patch
|
blob
|
history
diff --git
a/src/config.c
b/src/config.c
index 44b049d409e313de90842b6b87bf8accab8a5864..8b0d9458287d6c951c500fd50f62a1450d2ef317 100644
(file)
--- a/
src/config.c
+++ b/
src/config.c
@@
-696,10
+696,10
@@
void odhcpd_reload(void)
i->ndp = (master && master->ndp == RELAYD_RELAY) ?
RELAYD_RELAY : RELAYD_DISABLED;
- setup_router_interface(i,
tru
e);
- setup_dhcpv6_interface(i,
tru
e);
- setup_ndp_interface(i,
tru
e);
- setup_dhcpv4_interface(i,
tru
e);
+ setup_router_interface(i,
!i->ignor
e);
+ setup_dhcpv6_interface(i,
!i->ignor
e);
+ setup_ndp_interface(i,
!i->ignor
e);
+ setup_dhcpv4_interface(i,
!i->ignor
e);
} else {
close_interface(i);
}