applications/luci-ffwizard-leipzig: fix dhcp splash network configuration

This commit is contained in:
Jo-Philipp Wich 2009-02-20 04:10:04 +00:00
parent 47ec8ea5b7
commit 9473eb8b0d

View file

@ -392,10 +392,10 @@ function client.write(self, section, value)
-- Delete old splash -- 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 -- 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") uci:save("luci_splash")
end end