From 8c91ba674be1d2ca368fcb20601ae2581f58cc1e Mon Sep 17 00:00:00 2001 From: John Southworth Date: Mon, 5 Dec 2011 17:37:22 -0800 Subject: Fix typo in vrid split in Interfaces module --- lib/Vyatta/Interface.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Vyatta/Interface.pm b/lib/Vyatta/Interface.pm index cfc4a31..7deeb13 100755 --- a/lib/Vyatta/Interface.pm +++ b/lib/Vyatta/Interface.pm @@ -271,7 +271,7 @@ sub new { $dev = $1; $vif = $2; $vrid = $3; - } elsif ( $name =~ m/(\w+)\v(\d+)/ ) { + } elsif ( $name =~ m/(\w+)v(\d+)/ ) { $dev = $1; $vrid = $2; # Strip off vif from name -- cgit v1.2.3