mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
global-functions: $DefaultRouteIsReachable: update properties for ROS 7.x
This commit is contained in:
parent
a058c9e1ed
commit
a36aa441ed
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue