summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-12-05 17:37:22 -0800
committerJohn Southworth <john.southworth@vyatta.com>2011-12-05 17:37:57 -0800
commit8c91ba674be1d2ca368fcb20601ae2581f58cc1e (patch)
treeff3ef1bb13b96da58436a1de31f4e1500c9b4176 /lib
parent1c860930439981e1ad0c0591ea28028b2e115499 (diff)
downloadvyatta-cfg-8c91ba674be1d2ca368fcb20601ae2581f58cc1e.tar.gz
vyatta-cfg-8c91ba674be1d2ca368fcb20601ae2581f58cc1e.zip
Fix typo in vrid split in Interfaces module
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 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