summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2023-07-27 18:20:40 +0300
committerHannu Nyman <hannu.nyman@iki.fi>2023-07-27 18:20:40 +0300
commit68a671d2dabde5a776d377fd3fd1abf1c3ab30e3 (patch)
tree067a27e915a2aef2c65f33066457352a9d4ea7ea /applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos
parent6649969dc7ec186218763694337987c781973bba (diff)
luci-app-nft-qos: Remove redundant MAC address item.
Remove the redundant upload rate MAC address field. Download was removed by 1166050 of PR #4351, but upload was overlooked. Reference to PR #6477. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos')
-rw-r--r--applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua b/applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua
index 351e3c220f..b2001f7802 100644
--- a/applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua
+++ b/applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua
@@ -174,10 +174,6 @@ if limit_enable == "1" and limit_type == "static" then
o.titleref = luci.dispatcher.build_url("admin", "status", "overview")
end
- o = y:option(Value, "macaddr", translate("MAC (optional)"))
- o.rmempty = true
- o.datatype = "macaddr"
-
o = y:option(Value, "rate", translate("Rate"))
o.default = def_rate_ul or '50'
o.size = 4