luci-app-nft-qos: Remove redundant MAC address item.
authorHannu Nyman <hannu.nyman@iki.fi>
Thu, 27 Jul 2023 15:20:40 +0000 (18:20 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
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 <hannu.nyman@iki.fi>
applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua

index 351e3c220fd38d93a8f43d7982dbf73345ca21c0..b2001f78020a3fe71b458a2a4570d8023f346104 100644 (file)
@@ -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