From a36aa441edc73bc1f4e45ffebcf9773f5f4dd154 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 26 Apr 2022 16:25:47 +0200 Subject: [PATCH] global-functions: $DefaultRouteIsReachable: update properties for ROS 7.x --- global-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global-functions b/global-functions index dc64824..fcf2d46 100644 --- a/global-functions +++ b/global-functions @@ -183,7 +183,7 @@ # default route is reachable :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 false;