summaryrefslogtreecommitdiff
path: root/templates/interfaces/tunnel/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/interfaces/tunnel/node.def')
-rw-r--r--templates/interfaces/tunnel/node.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/interfaces/tunnel/node.def b/templates/interfaces/tunnel/node.def
index 77f827ac..e86ef9a0 100644
--- a/templates/interfaces/tunnel/node.def
+++ b/templates/interfaces/tunnel/node.def
@@ -36,5 +36,6 @@ create:if [ -n "$VAR(./key/@)" ]; then
delete:if [ "$VAR(./encapsulation/@)" == "gre-bridge" ]; then
ip link delete $VAR(@)
else
+ ip link set $VAR(@) down
ip tunnel del $VAR(@)
fi