diff options
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/Vyatta/Interface.pm | 2 |
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}; |