From: Jo-Philipp Wich Date: Fri, 20 Feb 2009 04:10:04 +0000 (+0000) Subject: applications/luci-ffwizard-leipzig: fix dhcp splash network configuration X-Git-Tag: 0.9.0~660 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9473eb8b0dd6e61446637059c05bd6623170bbd0;p=oweals%2Fluci.git applications/luci-ffwizard-leipzig: fix dhcp splash network configuration --- 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