projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make protocol selection in Firewall and QoS a combobox
[project/luci.git]
/
applications
/
luci-fw
/
luasrc
/
model
/
cbi
/
luci_fw
/
trule.lua
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
d8fe59c
..
72a36f9
100644
(file)
--- 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(
List
Value, "proto", translate("protocol"))
+proto = s:option(Value, "proto", translate("protocol"))
proto.optional = true
proto:value("")
proto:value("tcpudp", "TCP+UDP")