* Made interface selector for route configuration a ListValue
for k, v in pairs(ffluci.model.uci.show("network").network) do
if v[".type"] == "interface" and k ~= "loopback" then
iface:value(k)
+ s:depends("interface", k) -- Only change sections with existing interfaces
end
end
s.addremove = true
s.anonymous = true
-s:option(Value, "interface", "Schnittstelle")
+iface = s:option(ListValue, "interface", "Schnittstelle")
+for k, v in pairs(ffluci.model.uci.show("network").network) do
+ if v[".type"] == "interface" and k ~= "loopback" then
+ iface:value(k)
+ end
+end
s:option(Value, "target", "Ziel", "Host-IP oder Netzwerk")