diff options
author | Arjen de Korte <build+lede@de-korte.org> | 2017-02-03 11:13:59 +0100 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-02-05 20:57:39 +0100 |
commit | 07d5fc7ada9734c198f0316a872d38932116e5b0 (patch) | |
tree | 8917e272e66103a18ac087353ba87fc7c1cbd1e9 | |
parent | f791fb4af45032a653ba7c850f4564923871cb16 (diff) | |
download | upstream-07d5fc7ada9734c198f0316a872d38932116e5b0.tar.gz upstream-07d5fc7ada9734c198f0316a872d38932116e5b0.tar.bz2 upstream-07d5fc7ada9734c198f0316a872d38932116e5b0.zip |
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@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@darbyshire-bryant.me.uk>
-rw-r--r-- | package/network/services/dnsmasq/files/dnsmasq.init | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index 40c756b438..954dda94fb 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 |