mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add warning state if wan gateway is down
This commit is contained in:
parent
18470e0e0b
commit
ec8aaffb26
1 changed files with 3 additions and 0 deletions
|
@ -294,6 +294,9 @@ function interfaces_status()
|
||||||
gw_ping = 'UP'
|
gw_ping = 'UP'
|
||||||
else
|
else
|
||||||
gw_ping = 'DOWN'
|
gw_ping = 'DOWN'
|
||||||
|
if connectivity == "OK" then
|
||||||
|
connectivity = 'WARNING'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue