summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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};