dnsmasq: Add option --no-ping
authorJohn Crispin <john@openwrt.org>
Wed, 23 Dec 2015 14:43:41 +0000 (14:43 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 23 Dec 2015 14:43:41 +0000 (14:43 +0000)
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 <dedeckeh@gmail.com>
SVN-Revision: 47974

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

index a504f92e60628d6ecca31ab44130c72902c6e593..3ef2b3d64c441d2de9f3e09f418102743d956b9f 100644 (file)
@@ -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"