regress: support vlan port names with a period (.)

Change submitted by: Jean Tourrilhes <jt@hpl.hp.com>
This commit is contained in:
Glen Gibb committed 2010-03-10 16:43:17 -08:00
1 parent 12f93c9261
commit d915e2b6e1
1 file changed
+2 -1
+2 -1
View File
@@ -993,7 +993,8 @@ sub nftest_process_iface_map {
next if /^$/;
# Work out if we've got something that looks like a mapping
if (/^(\w+):\s*(\w+)$/) {
# Note : '.' is used in vlan interfaces
if (/^(\w+):\s*([\w\.]+)$/) {
$ifaceNameMap{$1} = $2;
}
}