global-functions: $DefaultRouteIsReachable: update properties for ROS 7.x

This commit is contained in:
Christian Hesse 2022-04-26 16:25:47 +02:00
parent a058c9e1ed
commit a36aa441ed

View file

@ -183,7 +183,7 @@
# default route is reachable # default route is reachable
:set DefaultRouteIsReachable do={ :set DefaultRouteIsReachable do={
:if ([ :len [ / ip route find where dst-address=0.0.0.0/0 active !blackhole !routing-mark !unreachable ] ] > 0) do={ :if ([ :len [ / ip route find where dst-address=0.0.0.0/0 active routing-table=main ] ] > 0) do={
:return true; :return true;
} }
:return false; :return false;