mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix status page
This commit is contained in:
parent
c912740c2b
commit
b6cc1a3a31
1 changed files with 1 additions and 1 deletions
|
@ -996,7 +996,7 @@ function interfaces_status()
|
||||||
else
|
else
|
||||||
connectivity = "ERROR"
|
connectivity = "ERROR"
|
||||||
end
|
end
|
||||||
local current_multipath_state = ut.trim(sys.exec("multipath " .. ifname))
|
local test_current_multipath_state = ut.trim(sys.exec("multipath " .. ifname))
|
||||||
if string.find(test_current_multipath_state,"deactivated") then
|
if string.find(test_current_multipath_state,"deactivated") then
|
||||||
current_multipath_state = "off"
|
current_multipath_state = "off"
|
||||||
elseif string.find(test_current_multipath_state,"default") then
|
elseif string.find(test_current_multipath_state,"default") then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue