diff options
author | Steven Barth <steven@midlink.org> | 2008-06-05 19:16:38 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-06-05 19:16:38 +0000 |
commit | dd9606825da5d73883b8313f5af905ea1b2a4d7d (patch) | |
tree | 1f853ae56dd8e3051698ac6d0a38d61bf6d6997f /applications/luci-ffwizard-leipzig/luasrc/view | |
parent | 75f3dbaa6136a1288fbe92d80fc127f5228f5d64 (diff) |
* Merged Luci to use native UCI-library
Diffstat (limited to 'applications/luci-ffwizard-leipzig/luasrc/view')
-rw-r--r-- | applications/luci-ffwizard-leipzig/luasrc/view/freifunk/wizard.htm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-ffwizard-leipzig/luasrc/view/freifunk/wizard.htm b/applications/luci-ffwizard-leipzig/luasrc/view/freifunk/wizard.htm index e3d6cb4c09..ab1c3438f9 100644 --- a/applications/luci-ffwizard-leipzig/luasrc/view/freifunk/wizard.htm +++ b/applications/luci-ffwizard-leipzig/luasrc/view/freifunk/wizard.htm @@ -26,7 +26,7 @@ <div class="cbi-value-title"><%:cfginternal Erlaube Zugriff von internem Netzwerk%>:</div> <div class="cbi-value-field"><select name="frominternal"> <option value=""></option> -<% for k, v in pairs(luci.model.uci.sections("network")) do +<% for k, v in pairs(luci.model.uci.get_all("network")) do if v[".type"] == "interface" and k ~= "loopback" then %> <option value="<%=k%>"<% if k == "lan" then %> selected="selected"<% end %>><%=k%></option> <% end @@ -37,7 +37,7 @@ end %> <div class="cbi-value-title"><%:cfgexternal Erlaube Zugriff auf externes Netzwerk%>:</div> <div class="cbi-value-field"><select name="toexternal"> <option value=""></option> -<% for k, v in pairs(luci.model.uci.sections("network")) do +<% for k, v in pairs(luci.model.uci.get_all("network")) do if v[".type"] == "interface" and k ~= "loopback" then %> <option value="<%=k%>"<% if k == "wan" then %> selected="selected"<% end %>><%=k%></option> <% end |