diff options
author | higebu <yuya.kusakabe@gmail.com> | 2014-03-18 03:06:00 +0900 |
---|---|---|
committer | higebu <yuya.kusakabe@gmail.com> | 2014-03-18 03:06:00 +0900 |
commit | 0823aa183c21e330e1be941b211f7b1bec5aed64 (patch) | |
tree | 8ab43fdc2e340522f16af491d7d412d403f764ea /lib | |
parent | 0971caca35da4ec77153762324b94bed76f719f5 (diff) | |
download | vyatta-cfg-0823aa183c21e330e1be941b211f7b1bec5aed64.tar.gz vyatta-cfg-0823aa183c21e330e1be941b211f7b1bec5aed64.zip |
Add support for l2tpv3
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}; |