aboutsummaryrefslogtreecommitdiffstats
path: root/torouterui/templates/lib.html
diff options
context:
space:
mode:
Diffstat (limited to 'torouterui/templates/lib.html')
-rw-r--r--torouterui/templates/lib.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/torouterui/templates/lib.html b/torouterui/templates/lib.html
index 03a671f..801eb12 100644
--- a/torouterui/templates/lib.html
+++ b/torouterui/templates/lib.html
@@ -13,7 +13,7 @@ Network hardware not detected at all!
<tr>
<th>Status
<td><span style="font-weight: bold;" class="label
- {% if ifstatus.state == 'RUNNING' %}label-success{% elif ifstatus.state == 'up' %}label-info{% else %}label-important{% endif %}">
+ {% if ifstatus.state in ['RUNNING','ENABLED'] %}label-success{% elif ifstatus.state == 'up' %}label-info{% else %}label-important{% endif %}">
{{ ifstatus.state }}
</span>
<tr>