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

Fix status page

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-07-14 20:56:15 +02:00
parent c912740c2b
commit b6cc1a3a31

View file

@ -996,7 +996,7 @@ function interfaces_status()
else
connectivity = "ERROR"
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
current_multipath_state = "off"
elseif string.find(test_current_multipath_state,"default") then