diff mbox

[OpenWrt-Devel,packages] dnsmasq: add option --quiet-dhcp

Message ID 20150107235020.160603a7@erker.lan
State Superseded
Headers show

Commit Message

Lars Kruse Jan. 7, 2015, 10:50 p.m. UTC
The --quiet-dhcp setting increases privacy by omitting DHCP lease logs
including MAC addresses.

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


--

I created the above patch with quilt. Hopefully the format is suitable.

Comments

edgar.soldin@web.de Jan. 9, 2015, 10:48 a.m. UTC | #1
On 07.01.2015 23:50, Lars Kruse wrote:
> 
> The --quiet-dhcp setting increases privacy by omitting DHCP lease logs
> including MAC addresses.
> 
> Signed-off-by: Lars Kruse <devel@sumpfralle.de>
> 
> --- a/package/network/services/dnsmasq/files/dnsmasq.init
> +++ b/package/network/services/dnsmasq/files/dnsmasq.init
> @@ -123,6 +123,7 @@ dnsmasq() {
>  	append_bool "$cfg" nonwildcard "--bind-interfaces"
>  	append_bool "$cfg" fqdn "--dhcp-fqdn"
>  	append_bool "$cfg" proxydnssec "--proxy-dnssec"
> +	append_bool "$cfg" quiet_dhcp "--quiet-dhcp"
>  
>  	append_parm "$cfg" dhcpscript "--dhcp-script"
>  	append_parm "$cfg" cachesize "--cache-size"

would make sense to use 'quietdhcp' instead of 'quiet_dhcp', as the other options seem to ommit the dashes too.

..ede
diff mbox

Patch

--- a/package/network/services/dnsmasq/files/dnsmasq.init
+++ b/package/network/services/dnsmasq/files/dnsmasq.init
@@ -123,6 +123,7 @@  dnsmasq() {
 	append_bool "$cfg" nonwildcard "--bind-interfaces"
 	append_bool "$cfg" fqdn "--dhcp-fqdn"
 	append_bool "$cfg" proxydnssec "--proxy-dnssec"
+	append_bool "$cfg" quiet_dhcp "--quiet-dhcp"
 
 	append_parm "$cfg" dhcpscript "--dhcp-script"
 	append_parm "$cfg" cachesize "--cache-size"