summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-08-11 16:34:29 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-08-11 16:34:29 -0500
commit959d096260fcf132c72e5796fdee03f88bafffed (patch)
tree2120593d38d33c312591c63b8168bd4206e795ab /templates
parent952df8613e7b4255d8849503e742433c9670232f (diff)
downloadvyatta-cfg-quagga-959d096260fcf132c72e5796fdee03f88bafffed.tar.gz
vyatta-cfg-quagga-959d096260fcf132c72e5796fdee03f88bafffed.zip
Add encapsulation to IPv6 parameters deletion so that ipip6 tunnels will work properly after a deletion.
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/tunnel/node.tag/parameters/ipv6/node.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/interfaces/tunnel/node.tag/parameters/ipv6/node.def b/templates/interfaces/tunnel/node.tag/parameters/ipv6/node.def
index d6dc668a..23c7df60 100644
--- a/templates/interfaces/tunnel/node.tag/parameters/ipv6/node.def
+++ b/templates/interfaces/tunnel/node.tag/parameters/ipv6/node.def
@@ -4,6 +4,7 @@ end:
if [[ "${COMMIT_ACTION}" == "DELETE" ]]; then
sudo ip -6 tunnel change $VAR(../../@) \
local $VAR(../../local-ip/@) remote $VAR(../../remote-ip/@) \
- hoplimit 64 encaplimit 4 tclass 0x00 flowlabel 0x00000
+ hoplimit 64 encaplimit 4 tclass 0x00 flowlabel 0x00000 \
+ mode $VAR(../../encapsulation/@)
fi