mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Only set MPTCP disabled on server when server set but check MPTCP for wan
This commit is contained in:
parent
df15575853
commit
8bc5f10a20
1 changed files with 4 additions and 6 deletions
|
@ -715,14 +715,12 @@ function interfaces_status()
|
|||
if multipath_available_state == "" then
|
||||
multipath_available = "OK"
|
||||
else
|
||||
if mArray.openmptcprouter["service_addr"] ~= "" then
|
||||
multipath_available_state_wan = ut.trim(sys.exec("omr-mptcp-intf " .. ifname .. " | grep 'Nay, Nay, Nay'"))
|
||||
else
|
||||
multipath_available_state_wan = "none"
|
||||
end
|
||||
multipath_available_state_wan = ut.trim(sys.exec("omr-mptcp-intf " .. ifname .. " | grep 'Nay, Nay, Nay'"))
|
||||
if multipath_available_state_wan == "" then
|
||||
multipath_available = "OK"
|
||||
mArray.openmptcprouter["server_mptcp"] = "disabled"
|
||||
if mArray.openmptcprouter["service_addr"] ~= "" then
|
||||
mArray.openmptcprouter["server_mptcp"] = "disabled"
|
||||
end
|
||||
else
|
||||
multipath_available = "ERROR"
|
||||
connectivity = "WARNING"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue