summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-ffwizard-leipzig/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-02-20 04:10:04 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-02-20 04:10:04 +0000
commit9473eb8b0dd6e61446637059c05bd6623170bbd0 (patch)
tree2fcbe0a3974124d2aea9979500767777e8c3ed12 /applications/luci-ffwizard-leipzig/luasrc
parent47ec8ea5b7b82e2a43c7e4ebbf606b9264c326f9 (diff)
applications/luci-ffwizard-leipzig: fix dhcp splash network configuration
Diffstat (limited to 'applications/luci-ffwizard-leipzig/luasrc')
-rw-r--r--applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
index 4bab83768..883973b2e 100644
--- a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
+++ b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
@@ -392,10 +392,10 @@ function client.write(self, section, value)
-- Delete old splash
- uci:delete_all("luci_splash", "iface", {net=device, zone="freifunk"})
+ uci:delete_all("luci_splash", "iface", {network=device.."dhcp", zone="freifunk"})
-- Register splash
- uci:section("luci_splash", "iface", nil, {net=device, zone="freifunk"})
+ uci:section("luci_splash", "iface", nil, {network=device.."dhcp", zone="freifunk"})
uci:save("luci_splash")
end