git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
6649969
)
luci-app-nft-qos: Remove redundant MAC address item.
author
Hannu Nyman
<redacted>
Thu, 27 Jul 2023 15:20:40 +0000
(18:20 +0300)
committer
Hannu Nyman
<redacted>
Thu, 27 Jul 2023 15:20:40 +0000
(18:20 +0300)
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 <redacted>
applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua
patch
|
blob
|
history
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 351e3c220fd38d93a8f43d7982dbf73345ca21c0..b2001f78020a3fe71b458a2a4570d8023f346104 100644
(file)
--- 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
git clone https://git.99rst.org/PROJECT