summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-03-23 23:02:35 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-03-23 23:02:35 +0000
commit303b7fccaca4177e570ae3c7038ba8d1b36d6c8c (patch)
tree0d4fa4618d0bd958b5d3216f4d419372b8466acc
parent6e11559793bb4e1211f8bc9e24cfa1cf706f6ee8 (diff)
applications/luci-ffwizard-leipzig: set option force 1 for wlan dhcp
-rw-r--r--applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
index 4eeb92b01..edcedd78b 100644
--- a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
+++ b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
@@ -360,6 +360,7 @@ function client.write(self, section, value)
dhcpbase.interface = device .. "dhcp"
dhcpbase.start = dhcpbeg
dhcpbase.limit = limit
+ dhcpbase.force = 1
uci:section("dhcp", "dhcp", device .. "dhcp", dhcpbase)
uci:save("dhcp")