diff options
Diffstat (limited to 'templates/protocols/static')
-rw-r--r-- | templates/protocols/static/route/node.tag/next-hop/node.def | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/protocols/static/route/node.tag/next-hop/node.def b/templates/protocols/static/route/node.tag/next-hop/node.def index eb41b4e4..f5d5d417 100644 --- a/templates/protocols/static/route/node.tag/next-hop/node.def +++ b/templates/protocols/static/route/node.tag/next-hop/node.def @@ -31,3 +31,7 @@ end: -c "no ip route $VAR(../@) $VAR(@)" fi fi + if [[ "$VAR(../@)" = "0.0.0.0/0" ]] + then + ${vyatta_sbindir}/vyatta-gateway-static_route-check.pl warn + fi |