mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-14 19:41:51 +00:00
Check if WAN IP and Gateway IP are not the same
This commit is contained in:
parent
e133cd9489
commit
e5507f9b59
1 changed files with 5 additions and 0 deletions
|
@ -392,6 +392,11 @@
|
|||
{
|
||||
statusMessage += 'No Server ping response after 1 second<br />'
|
||||
}
|
||||
if (stat == 'Offline' && ipaddr != '' && ipaddr == mArray.wans[i].gateway)
|
||||
{
|
||||
statusMessage += 'Wan IP and gateway are identical<br />';
|
||||
statusMessageClass = "error";
|
||||
}
|
||||
if(multipath == 'master' && master > 1)
|
||||
{
|
||||
statusMessage += 'Multipath master already defined<br />';
|
||||
|
|
Loading…
Reference in a new issue