diff options
author | Steven Barth <steven@midlink.org> | 2009-01-08 21:18:35 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2009-01-08 21:18:35 +0000 |
commit | 37830bc23207eca02b9280cbbe1d56230f8eb05a (patch) | |
tree | 70a30ba072f739c21179387d1cd8a20d25681105 /applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua | |
parent | 5a35b64dfb02e126e271c963fcf083636dd0b88e (diff) |
Make protocol selection in Firewall and QoS a combobox
closes #29
Diffstat (limited to 'applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua')
-rw-r--r-- | applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua b/applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua index d8fe59c9b..72a36f927 100644 --- a/applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua +++ b/applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua @@ -39,7 +39,7 @@ luci.model.uci.cursor():foreach("firewall", "zone", oface:value(section.name) end) -proto = s:option(ListValue, "proto", translate("protocol")) +proto = s:option(Value, "proto", translate("protocol")) proto.optional = true proto:value("") proto:value("tcpudp", "TCP+UDP") |