summaryrefslogtreecommitdiff
path: root/templates/system/gateway-address/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/system/gateway-address/node.def')
-rw-r--r--templates/system/gateway-address/node.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/system/gateway-address/node.def b/templates/system/gateway-address/node.def
index 11f8e0f0..70419e26 100644
--- a/templates/system/gateway-address/node.def
+++ b/templates/system/gateway-address/node.def
@@ -11,3 +11,4 @@ update: oldgw=`/opt/vyatta/sbin/vyatta-cli-expand-var.pl \\$VAR\(/system/gateway
delete: if ${vyatta_sbindir}/vyatta-gateway-static_route-check.pl "$VAR(@)"
then vtysh -c "configure terminal" -c "no ip route 0.0.0.0/0 $VAR(@)"
fi
+end: ${vyatta_sbindir}/vyatta-gateway-static_route-check.pl warn