diff options
author | Saurabh Mohan <saurabh.mohan@vyatta.com> | 2012-06-11 17:50:22 -0700 |
---|---|---|
committer | Saurabh Mohan <saurabh.mohan@vyatta.com> | 2012-06-11 17:50:22 -0700 |
commit | bead91b5a008bf8c999db2cc59e34bbe640bcaa0 (patch) | |
tree | 25fd304e7bf05907bd37f367f42e0e915bc2cfc5 /templates | |
parent | d519a894fcb07ed08577b7be9dfdb3efeafa980c (diff) | |
download | vyatta-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.def | 2 |
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 |