diff options
author | Jon Andersson <jon.andersson@Thalesgroup.com> | 2011-10-10 16:16:11 -0500 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-10-10 16:16:11 -0500 |
commit | c67c649ba3d9d58a0990104373f0e24c71317cb1 (patch) | |
tree | 0be3997901d424b65aabb91d89ab4f47d74a0950 | |
parent | 59d22340839536085c5b8a04a454a27a417217e6 (diff) | |
download | vyatta-cfg-quagga-c67c649ba3d9d58a0990104373f0e24c71317cb1.tar.gz vyatta-cfg-quagga-c67c649ba3d9d58a0990104373f0e24c71317cb1.zip |
Bugfix 7553: Move the logic for delete from and end tag to a delete tag
-rw-r--r-- | templates/interfaces/tunnel/node.tag/parameters/ipv6/node.def | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/interfaces/tunnel/node.tag/parameters/ipv6/node.def b/templates/interfaces/tunnel/node.tag/parameters/ipv6/node.def index 23c7df60..f7c85768 100644 --- a/templates/interfaces/tunnel/node.tag/parameters/ipv6/node.def +++ b/templates/interfaces/tunnel/node.tag/parameters/ipv6/node.def @@ -1,10 +1,8 @@ help: IPv6 specific tunnel parameters -end: +delete: # set all parameters back to defaults if deleting this node - 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 \ mode $VAR(../../encapsulation/@) - fi |