summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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