applications/luci-ffwizard-leipzig: fix dhcp splash network configuration
[project/luci.git] / applications / luci-ffwizard-leipzig / luasrc / model / cbi / ffwizard.lua
index 4bab83768888cd6f66b81062f5d71dd8bb683da4..883973b2e6350eddfc409ca8898bcd9afb615060 100644 (file)
@@ -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