summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2014-03-17 11:53:04 -0700
committerDaniil Baturin <daniil@baturin.org>2014-03-17 11:53:04 -0700
commite99f5d3263597451bdbf8b93d07d2a88207c79c3 (patch)
tree8ab43fdc2e340522f16af491d7d412d403f764ea
parent0971caca35da4ec77153762324b94bed76f719f5 (diff)
parent0823aa183c21e330e1be941b211f7b1bec5aed64 (diff)
downloadvyatta-cfg-e99f5d3263597451bdbf8b93d07d2a88207c79c3.tar.gz
vyatta-cfg-e99f5d3263597451bdbf8b93d07d2a88207c79c3.zip
Merge pull request #1 from higebu/feature/l2tpv3
Bug #170: Add support for l2tpv3
-rwxr-xr-xlib/Vyatta/Interface.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/Interface.pm b/lib/Vyatta/Interface.pm
index 84b0057..41ee57d 100755
--- a/lib/Vyatta/Interface.pm
+++ b/lib/Vyatta/Interface.pm
@@ -121,7 +121,7 @@ sub new {
$vif = $2;
}
- return unless ($dev =~ /^([a-z]+)/);
+ return unless ($dev =~ /^(l2tpeth|[a-z]+)/);
# convert from prefix 'eth' to type 'ethernet'
my $type = $net_prefix{$1};