1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00
This commit is contained in:
Ycarus (Yannick Chabanois) 2021-03-26 19:32:00 +01:00
parent b9d286ce94
commit 6dbf7cc73c

View file

@ -428,7 +428,7 @@ local statuslogo = ucic:get("openmptcprouter","settings","statuslogo") or "openm
var whois = mArray.wans[i].whois;
var whois6 = mArray.wans[i].whois6;
var signal = mArray.wans[i].signal;
var status = mArray.wans[i].status;
var istatus = mArray.wans[i].status;
var multipath = mArray.wans[i].multipath;
if(multipath == 'master')
{
@ -570,12 +570,12 @@ local statuslogo = ucic:get("openmptcprouter","settings","statuslogo") or "openm
{
statusMessage += '<%:No Server http response after 1 second%>' + '<br />';
}
if (status == 'ERROR' && ipaddr != '' && ipaddr == mArray.wans[i].gateway)
if (istatus == 'ERROR' && ipaddr != '' && ipaddr == mArray.wans[i].gateway)
{
statusMessage += '<%:Wan IP and gateway are identical%>' + '<br />';
statusMessageClass = "error";
}
if (status == 'ERROR' && ip6addr != '' && ip6addr == mArray.wans[i].gateway6)
if (istatus == 'ERROR' && ip6addr != '' && ip6addr == mArray.wans[i].gateway6)
{
statusMessage += '<%:Wan IP and gateway are identical%>' + '<br />';
statusMessageClass = "error";