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

Now that every bridge is guaranteed to be defined as a standalone device
there is no need for aliases there anymore.

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

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 a1def24b07..7a5e438d7c 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
@@ -465,8 +465,7 @@ return view.extend({
                                o.write = function() {};
 
                                o = s.taboption('general', 
widgets.DeviceSelect, 'ifname', _('Device'));
-                               o.nobridges = false;
-                               o.noaliases = false;
+                               o.noaliases = true;
                                o.optional = false;
                                o.network = ifc.getName();
 
@@ -925,7 +924,7 @@ return view.extend({
                        };
 
                        ifname = s2.option(widgets.DeviceSelect, 'ifname', 
_('Device'));
-                       ifname.noaliases = false;
+                       ifname.noaliases = true;
                        ifname.optional = false;
 
                        proto = s2.option(form.ListValue, 'proto', 
_('Protocol'));
-- 
2.26.2


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

Reply via email to