1
0
Fork 0
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:
Ycarus 2018-05-11 14:14:18 +02:00
parent 18470e0e0b
commit ec8aaffb26

View file

@ -294,6 +294,9 @@ function interfaces_status()
gw_ping = 'UP'
else
gw_ping = 'DOWN'
if connectivity == "OK" then
connectivity = 'WARNING'
end
end
end