aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-12-23 14:43:41 +0000
committerJohn Crispin <john@openwrt.org>2015-12-23 14:43:41 +0000
commita621edbb0aa345373c9ac292763843683d002ba9 (patch)
treefd49945afe83cee9ec655e9818ea7b0a05994ce1 /package/network
parent772f9d4e32f326d94050da157d108f7f97961c5f (diff)
downloadupstream-a621edbb0aa345373c9ac292763843683d002ba9.tar.gz
upstream-a621edbb0aa345373c9ac292763843683d002ba9.tar.bz2
upstream-a621edbb0aa345373c9ac292763843683d002ba9.zip
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 <dedeckeh@gmail.com> SVN-Revision: 47974
Diffstat (limited to 'package/network')
-rw-r--r--package/network/services/dnsmasq/files/dnsmasq.init1
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 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"