1
0
Fork 0
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:
Ycarus 2019-01-15 21:45:20 +01:00
parent e133cd9489
commit e5507f9b59

View file

@ -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 />';