From b4441e32547e7cef3208586b29bfe8bae9b17579 Mon Sep 17 00:00:00 2001 From: Jordan Date: Thu, 2 Apr 2026 09:38:25 +0900 Subject: [PATCH] luci-mod-network: add qdisc option to device settings Expose the per-device qdisc option in the network device configuration form so queueing disciplines can be configured through LuCI. Ref: #8475 Signed-off-by: Jordan --- .../htdocs/luci-static/resources/tools/network.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js b/modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js index c96e268df9ea..ae557e66eeeb 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js @@ -1129,6 +1129,10 @@ return baseclass.extend({ o.placeholder = dev ? dev._devstate('qlen') : ''; o.datatype = 'uinteger'; + o = this.replaceOption(s, 'devadvanced', form.Value, 'qdisc', _('Queuing discipline'), + _('Override the default queuing discipline for this device.')); + o.rmempty = true; + /* PSE / PoE options */ if (hasPSE) { o = this.replaceOption(s, 'devpse', form.ListValue, 'pse', _('PoE (C33)'),