From: Rafał Miłecki <ra...@milecki.pl>

UCI "interface" L3 sections use "ifname" option for pointing L2 devices.
A more accurate option would be "device" but for now adjust UI at least
to make configuration easier for LuCI users.

Signed-off-by: Rafał Miłecki <ra...@milecki.pl>
---
 .../htdocs/luci-static/resources/view/network/interfaces.js     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js
 
b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js
index 6eebb09e9d..f808230eca 100644
--- 
a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js
+++ 
b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js
@@ -869,7 +869,7 @@ return view.extend({
                        proto = s2.option(form.ListValue, 'proto', 
_('Protocol'));
                        proto.validate = name.validate;
 
-                       ifname = s2.option(widgets.DeviceSelect, 'ifname', 
_('Interface'));
+                       ifname = s2.option(widgets.DeviceSelect, 'ifname', 
_('Device'));
                        ifname.noaliases = false;
                        ifname.optional = false;
 
-- 
2.26.2


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to