aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-09-01 23:15:57 +0200
committerGravatar Christian Hesse <mail@eworm.de>2020-09-01 23:15:57 +0200
commitfae28357c7cd739f7d0b96c81b4933bdfcd4466a (patch)
tree99abfdf7f1dea1dc7a2855fc626edf48a05b0f67
parentd320fa93f2c6bd283d86060a4778ef43d46d457b (diff)
global-functions: $DefaultRouteIsReachable: exclude blackhole
-rw-r--r--global-functions2
1 files changed, 1 insertions, 1 deletions
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;