[source] dnsmasq: honor quietdhcp option for DHCPv6
LEDE Commits
lede-commits at lists.infradead.org
Sun Feb 5 11:58:05 PST 2017
dedeckeh pushed a commit to source.git, branch master:
https://git.lede-project.org/07d5fc7ada9734c198f0316a872d38932116e5b0
commit 07d5fc7ada9734c198f0316a872d38932116e5b0
Author: Arjen de Korte <build+lede at de-korte.org>
AuthorDate: Fri Feb 3 11:13:59 2017 +0100
dnsmasq: honor quietdhcp option for DHCPv6
Do not spam the syslog with DHCPv6 lease info if quietdhcp option
is selected. This already works for DHCPv4, make it work in the same
way for DHCPv6.
Signed-off-by: Arjen de Korte <build+lede at de-korte.org>
[Originally written by Arjen de Korte on GitHub but had issues providing
a SoB in correct format.]
Signed-off-by: Kevin Darbyshire-Bryant <kevin at darbyshire-bryant.me.uk>
---
package/network/services/dnsmasq/files/dnsmasq.init | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init
index 40c756b..954dda9 100644
--- a/package/network/services/dnsmasq/files/dnsmasq.init
+++ b/package/network/services/dnsmasq/files/dnsmasq.init
@@ -894,6 +894,7 @@ dnsmasq_start()
config_foreach dhcp_add dhcp
xappend "--enable-ra"
xappend "--quiet-ra"
+ append_bool "$cfg" quietdhcp "--quiet-dhcp6"
elif [ "$DNSMASQ_DHCP_VER" -gt 0 ] ; then
config_foreach dhcp_add dhcp
More information about the lede-commits
mailing list