1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Try to find why we have unknown status in some cases

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-09-20 19:52:38 +02:00
parent 44b8789388
commit 8ae235cf3d
2 changed files with 4 additions and 3 deletions

View file

@ -445,13 +445,13 @@ local statuslogo = ucic:get("openmptcprouter","settings","statuslogo") or "openm
cssc = 'rgb(144, 240, 144)';
statusIcon = "<%=resource%>/openmptcprouter/images/statusWarning.png";
statusMessageClass = "warning";
statusMessage = "Some connectivity tests failed";
statusMessage = "Some connectivity tests failed" + '<br />';
default:
stat = 'Unknown';
cssc = 'rgb(144, 240, 144)';
statusIcon = "<%=resource%>/openmptcprouter/images/statusWarning.png";
statusMessageClass = "warning";
statusMessage = "Unknown status";
statusMessage = "Unknown status (" + mArray.wans[i].status + ")" + '<br />';
}
// Populate info
var wanip = mArray.wans[i].wanip;