diff options
Diffstat (limited to 'applications')
-rw-r--r-- | applications/luci-fw/luasrc/model/cbi/luci_fw/miniportfw.lua | 2 | ||||
-rw-r--r-- | applications/luci-fw/luasrc/model/cbi/luci_fw/portfw.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-fw/luasrc/model/cbi/luci_fw/miniportfw.lua b/applications/luci-fw/luasrc/model/cbi/luci_fw/miniportfw.lua index 44a7391856..09806e67a8 100644 --- a/applications/luci-fw/luasrc/model/cbi/luci_fw/miniportfw.lua +++ b/applications/luci-fw/luasrc/model/cbi/luci_fw/miniportfw.lua @@ -26,7 +26,7 @@ s.anonymous = true name = s:option(Value, "_name", translate("name"), translate("cbi_optional")) name.size = 10 -proto = s:option(ListValue, "protocol", translate("protocol")) +proto = s:option(ListValue, "proto", translate("protocol")) proto:value("tcp", "TCP") proto:value("udp", "UDP") diff --git a/applications/luci-fw/luasrc/model/cbi/luci_fw/portfw.lua b/applications/luci-fw/luasrc/model/cbi/luci_fw/portfw.lua index 72ff54642f..314dd418e1 100644 --- a/applications/luci-fw/luasrc/model/cbi/luci_fw/portfw.lua +++ b/applications/luci-fw/luasrc/model/cbi/luci_fw/portfw.lua @@ -30,7 +30,7 @@ luci.model.uci.cursor():foreach("firewall", "zone", iface:value(section.name) end) -proto = s:option(ListValue, "protocol", translate("protocol")) +proto = s:option(ListValue, "proto", translate("protocol")) proto:value("tcp", "TCP") proto:value("udp", "UDP") |