dnsmasq: Add sequential_ip UCI parameter
authorSteven Barth <cyrus@openwrt.org>
Tue, 7 Jul 2015 08:13:22 +0000 (08:13 +0000)
committerSteven Barth <cyrus@openwrt.org>
Tue, 7 Jul 2015 08:13:22 +0000 (08:13 +0000)
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

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

index bbe2b5612dd2c5ff1cd6e112e1fdc0db55f33b7a..5844aaf8e2e3721abeaefa629cef28c238347b96 100644 (file)
@@ -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"