summaryrefslogtreecommitdiff
path: root/templates/interfaces/l2tpv3/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/interfaces/l2tpv3/node.def')
-rw-r--r--templates/interfaces/l2tpv3/node.def8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/interfaces/l2tpv3/node.def b/templates/interfaces/l2tpv3/node.def
index fb3d1475..973256bf 100644
--- a/templates/interfaces/l2tpv3/node.def
+++ b/templates/interfaces/l2tpv3/node.def
@@ -1,5 +1,5 @@
tag:
-priority: 460
+priority: 800
type: txt
help: L2TPv3 interface
val_help: <l2tpethN>; L2TPv3 interface name
@@ -48,9 +48,9 @@ create:
delete:
ip link set $VAR(@) down
- if [ -n "$VAR(./tunnel-id@/)" ] && [ -n "$VAR(./session-id@/)" ] ; then
- ip l2tp del session $VAR(./tunnel-id/@) session_id $VAR(./session-id/@)
+ if [ -n "$VAR(./tunnel-id/@)" ] && [ -n "$VAR(./session-id/@)" ] ; then
+ ip l2tp del session tunnel_id $VAR(./tunnel-id/@) session_id $VAR(./session-id/@)
fi
- if [ -n "$VAR(./tunnel-id@/)" ] ; then
+ if [ -n "$VAR(./tunnel-id/@)" ] ; then
ip l2tp del tunnel tunnel_id $VAR(./tunnel-id/@)
fi