From 68a671d2dabde5a776d377fd3fd1abf1c3ab30e3 Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Thu, 27 Jul 2023 18:20:40 +0300 Subject: [PATCH] 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 --- .../luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua | 4 ---- 1 file changed, 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 -- 2.30.2