From: blogic Date: Wed, 23 Dec 2015 14:43:41 +0000 (+0000) Subject: dnsmasq: Add option --no-ping X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=e71738d828f3acbd78ea4204de504e250a408865 dnsmasq: Add option --no-ping By default dnsmasq sends an ICMP echo request before allocating an IP address to a host; the uci option noping allows to disable this check. Signed-off-by: Hans Dedecker git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47974 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index a504f92e60..3ef2b3d64c 100644 --- a/package/network/services/dnsmasq/files/dnsmasq.init +++ b/package/network/services/dnsmasq/files/dnsmasq.init @@ -137,6 +137,7 @@ dnsmasq() { append_bool "$cfg" quietdhcp "--quiet-dhcp" append_bool "$cfg" sequential_ip "--dhcp-sequential-ip" append_bool "$cfg" allservers "--all-servers" + append_bool "$cfg" noping "--no-ping" append_parm "$cfg" dhcpscript "--dhcp-script" append_parm "$cfg" cachesize "--cache-size"