From fae28357c7cd739f7d0b96c81b4933bdfcd4466a Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 1 Sep 2020 23:15:57 +0200 Subject: global-functions: $DefaultRouteIsReachable: exclude blackhole --- global-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global-functions b/global-functions index 67c4882..26c180b 100644 --- a/global-functions +++ b/global-functions @@ -176,7 +176,7 @@ # default route is reachable :set DefaultRouteIsReachable do={ - :if ([ :len [ / ip route find where dst-address=0.0.0.0/0 !unreachable active !routing-mark ] ] > 0) do={ + :if ([ :len [ / ip route find where dst-address=0.0.0.0/0 active !blackhole !routing-mark !unreachable ] ] > 0) do={ :return true; } :return false; -- cgit v1.2.3-70-g09d2