dnsmasq: add option --quiet-dhcp
authorJohn Crispin <john@openwrt.org>
Sat, 17 Jan 2015 14:38:55 +0000 (14:38 +0000)
committerJohn Crispin <john@openwrt.org>
Sat, 17 Jan 2015 14:38:55 +0000 (14:38 +0000)
The --quiet-dhcp setting increases privacy by omitting DHCP lease logs including MAC addresses.

Signed-off-by: Lars Kruse <devel@sumpfralle.de>
SVN-Revision: 44006

package/network/services/dnsmasq/files/dnsmasq.init

index cb78e831d37aecd02571325ee90204b2eae5b69f..40ec584c1b4f1b4a94a0d8315449f146f8513485 100644 (file)
@@ -128,6 +128,7 @@ dnsmasq() {
        append_bool "$cfg" fqdn "--dhcp-fqdn"
        append_bool "$cfg" proxydnssec "--proxy-dnssec"
        append_bool "$cfg" localservice "--local-service"
+       append_bool "$cfg" quietdhcp "--quiet-dhcp"
 
        append_parm "$cfg" dhcpscript "--dhcp-script"
        append_parm "$cfg" cachesize "--cache-size"