summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSaurabh Mohan <saurabh.mohan@vyatta.com>2012-06-11 17:50:22 -0700
committerSaurabh Mohan <saurabh.mohan@vyatta.com>2012-06-11 17:50:22 -0700
commitbead91b5a008bf8c999db2cc59e34bbe640bcaa0 (patch)
tree25fd304e7bf05907bd37f367f42e0e915bc2cfc5 /templates
parentd519a894fcb07ed08577b7be9dfdb3efeafa980c (diff)
downloadvyatta-cfg-vpn-bead91b5a008bf8c999db2cc59e34bbe640bcaa0.tar.gz
vyatta-cfg-vpn-bead91b5a008bf8c999db2cc59e34bbe640bcaa0.zip
VTI: Add support call for checking for vti interface name.
Diffstat (limited to 'templates')
-rw-r--r--templates/vpn/ipsec/site-to-site/peer/node.tag/vti/mark/node.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/vti/mark/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/vti/mark/node.def
index 0841bd2..807ae5a 100644
--- a/templates/vpn/ipsec/site-to-site/peer/node.tag/vti/mark/node.def
+++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/vti/mark/node.def
@@ -13,3 +13,5 @@ update:
delete:
sudo iptables -t mangle -D PREROUTING -s $VAR(../../@) -p esp -j MARK --set-mark $VAR(@)
sudo iptables -t mangle -D PREROUTING -s $VAR(../../@) -p udp --dport 4500 -j MARK --set-mark $VAR(@)
+ # need a exit 0 because if there is no iptables entry then we want to keep the commit going.
+ exit 0