summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/interfaces/l2tpv3/node.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/interfaces/l2tpv3/node.def b/templates/interfaces/l2tpv3/node.def
index e8e2e01d..0b06bdaf 100644
--- a/templates/interfaces/l2tpv3/node.def
+++ b/templates/interfaces/l2tpv3/node.def
@@ -44,7 +44,8 @@ create:
remote $VAR(./remote-ip/@)
ip l2tp add session session_id $VAR(./session-id/@) \
tunnel_id $VAR(./tunnel-id/@) \
- peer_session_id $VAR(./peer-session-id/@)
+ peer_session_id $VAR(./peer-session-id/@) \
+ name $VAR(@)
ip link set $VAR(@) up
delete: