Skip to content

Commit

Permalink
luci-mod-network: show 'Interface disabled' in status
Browse files Browse the repository at this point in the history
Signed-off-by: Fengyu Wu <saldry@proton.me>
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
  • Loading branch information
systemcrash committed Nov 5, 2024
1 parent 7dde323 commit 1c61a66
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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', {
Expand Down

0 comments on commit 1c61a66

Please sign in to comment.