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

only a warning if MPTCP flag removed

This commit is contained in:
Ycarus 2018-08-24 21:56:46 +02:00
parent 91fb0e66d9
commit 301ea31b1e
2 changed files with 3 additions and 7 deletions

View file

@ -693,13 +693,9 @@ function interfaces_status()
mArray.openmptcprouter["server_mptcp"] = "disabled" mArray.openmptcprouter["server_mptcp"] = "disabled"
else else
multipath_available = "ERROR" multipath_available = "ERROR"
if mArray.openmptcprouter["socks_service"] == true and connectivity == "OK" then
connectivity = "ERROR"
elseif connectivity == "OK" then
connectivity = "WARNING" connectivity = "WARNING"
end end
end end
end
else else
multipath_available = "NO CHECK" multipath_available = "NO CHECK"
end end

View file

@ -266,7 +266,7 @@
statusMessage += 'Gateway DOWN<br />' statusMessage += 'Gateway DOWN<br />'
} elseif(multipath_available == 'ERROR') } elseif(multipath_available == 'ERROR')
{ {
statusMessage += 'Multipath blocked on the connection<br />' statusMessage += 'Multipath seems to be blocked on the connection<br />'
} }
if(server_ping == 'DOWN') if(server_ping == 'DOWN')
{ {