diff options
author | Daniil Baturin <daniil@baturin.org> | 2014-04-12 09:56:35 -0700 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2014-04-12 09:56:35 -0700 |
commit | 8ae087c9c6925c44228d2f4ae7b5ea0ee671317a (patch) | |
tree | 8b9bd1fa077fd203dedc59353350548634ec67de | |
parent | 7a09318750a8617ba1f188c7b4b6a48960c8f4ef (diff) | |
download | vyatta-cfg-system-8ae087c9c6925c44228d2f4ae7b5ea0ee671317a.tar.gz vyatta-cfg-system-8ae087c9c6925c44228d2f4ae7b5ea0ee671317a.zip |
Bug #170: Specify interface name in iproute2 command to override default numering.
-rw-r--r-- | templates/interfaces/l2tpv3/node.def | 3 |
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: |