diff options
author | Christian Hesse <mail@eworm.de> | 2020-09-01 23:15:57 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-09-01 23:15:57 +0200 |
commit | fae28357c7cd739f7d0b96c81b4933bdfcd4466a (patch) | |
tree | 99abfdf7f1dea1dc7a2855fc626edf48a05b0f67 | |
parent | d320fa93f2c6bd283d86060a4778ef43d46d457b (diff) |
global-functions: $DefaultRouteIsReachable: exclude blackhole
-rw-r--r-- | global-functions | 2 |
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; |