From: cyrus Date: Tue, 7 Jul 2015 08:13:22 +0000 (+0000) Subject: dnsmasq: Add sequential_ip UCI parameter X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=1fbaf2f99f54e203c17f4bc634c3b9ee8c1258eb;hp=9c7f508a340e42fcf4a8c86a82305f3a09beb27d;p=openwrt.git 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46211 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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"