summaryrefslogtreecommitdiff
path: root/package/network
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2015-07-07 08:13:22 +0000
committerSteven Barth <cyrus@openwrt.org>2015-07-07 08:13:22 +0000
commit59f5eefe8cfb10c7b130bd675f7a9f9fafb26f66 (patch)
tree52878ff2d40a3f5c8d14d1146d355691e864bc7c /package/network
parentc5c819c4944370b9c60ea52f91ad2c1a4b609d3d (diff)
downloadmtk-20170518-59f5eefe8cfb10c7b130bd675f7a9f9fafb26f66.zip
mtk-20170518-59f5eefe8cfb10c7b130bd675f7a9f9fafb26f66.tar.gz
mtk-20170518-59f5eefe8cfb10c7b130bd675f7a9f9fafb26f66.tar.bz2
dnsmasq: Add sequential_ip UCI parameter
When enabled the dnsmasq DHCP server allocates the IP addresses sequentially starting from the lowest available IP address. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> SVN-Revision: 46211
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 bbe2b56..5844aaf 100644
--- a/package/network/services/dnsmasq/files/dnsmasq.init
+++ b/package/network/services/dnsmasq/files/dnsmasq.init
@@ -135,6 +135,7 @@ dnsmasq() {
append_bool "$cfg" proxydnssec "--proxy-dnssec"
append_bool "$cfg" localservice "--local-service"
append_bool "$cfg" quietdhcp "--quiet-dhcp"
+ append_bool "$cfg" sequential_ip "--dhcp-sequential-ip"
append_parm "$cfg" dhcpscript "--dhcp-script"
append_parm "$cfg" cachesize "--cache-size"