aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/dnsmasq
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/services/dnsmasq
parentc5c819c4944370b9c60ea52f91ad2c1a4b609d3d (diff)
downloadupstream-59f5eefe8cfb10c7b130bd675f7a9f9fafb26f66.tar.gz
upstream-59f5eefe8cfb10c7b130bd675f7a9f9fafb26f66.tar.bz2
upstream-59f5eefe8cfb10c7b130bd675f7a9f9fafb26f66.zip
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/services/dnsmasq')
-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 bbe2b5612d..5844aaf8e2 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"