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

Fix display multipath state

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-07-07 21:47:00 +02:00
parent f8181f687c
commit 1732e66a16
2 changed files with 12 additions and 1 deletions

View file

@ -413,7 +413,7 @@
statusMessage += 'Multipath master already defined<br />';
statusMessageClass = "error";
}
if(multipath !== multipath_state)
if(multipath !== multipath_state && multipath !== 'master' && multipath_state !== 'on')
{
statusMessage += 'Multipath current state is ' + multipath_state + '<br />';
statusMessageClass = "error";