summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js1
1 files changed, 1 insertions, 0 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 6f9f2df941..a4c7384e90 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
@@ -88,6 +88,7 @@ function render_status(node, ifc, with_device) {
...addEntries(_('IPv4'), changecount ? [] : ifc.getIPAddrs()),
...addEntries(_('IPv6'), changecount ? [] : ifc.getIP6Addrs()),
...addEntries(_('IPv6-PD'), changecount ? null : ifc.getIP6Prefixes?.()),
+ _('Information'), with_device ? null : (ifc.get('disabled') != '1' ? null : _('Interface disabled')),
_('Information'), with_device ? null : (ifc.get('auto') != '0' ? null : _('Not started on boot')),
...addEntries(_('Error'), ifc.getErrors()),
null, changecount ? E('a', {