From 8ae087c9c6925c44228d2f4ae7b5ea0ee671317a Mon Sep 17 00:00:00 2001
From: Daniil Baturin <daniil@baturin.org>
Date: Sat, 12 Apr 2014 09:56:35 -0700
Subject: Bug #170: Specify interface name in iproute2 command to override
 default numering.

---
 templates/interfaces/l2tpv3/node.def | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'templates/interfaces/l2tpv3/node.def')

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:
-- 
cgit v1.2.3

