applications/luci-ffwizard-leipzig: set option force 1 for wlan dhcp
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 23 Mar 2009 23:02:35 +0000 (23:02 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 23 Mar 2009 23:02:35 +0000 (23:02 +0000)
applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua

index 4eeb92b..edcedd7 100644 (file)
@@ -360,6 +360,7 @@ function client.write(self, section, value)
        dhcpbase.interface = device .. "dhcp"
        dhcpbase.start = dhcpbeg
        dhcpbase.limit = limit
        dhcpbase.interface = device .. "dhcp"
        dhcpbase.start = dhcpbeg
        dhcpbase.limit = limit
+       dhcpbase.force = 1
 
        uci:section("dhcp", "dhcp", device .. "dhcp", dhcpbase)
        uci:save("dhcp")
 
        uci:section("dhcp", "dhcp", device .. "dhcp", dhcpbase)
        uci:save("dhcp")