luci-app-sqm: fix missing interface in selection

Show device instead of interface in interface selection.

Fixes: #4539
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
This commit is contained in:
Ansuel Smith 2020-10-25 14:40:49 +01:00 committed by Toke Høiland-Jørgensen
parent c80fcd2375
commit 5a6037a258

View file

@ -68,7 +68,7 @@ return view.extend({
return uci.set("sqm", section, "enabled", value);
}, this);
o = s.taboption("tab_basic", widgets.NetworkSelect, "interface", _("Interface name"));
o = s.taboption("tab_basic", widgets.DeviceSelect, "interface", _("Interface name"));
o.rmempty = false;
o = s.taboption("tab_basic", form.Value, "download", _("Download speed (kbit/s) (ingress) set to 0 to selectively disable ingress shaping:"));