Commit 1cf3aeba authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor bug fix to previous revision.

parent 0af7691f
......@@ -1854,7 +1854,7 @@ sub Lookup($$;$)
print STDERR "VLan->Lookup(): Bad first argument: $arg1\n";
return undef;
}
elsif (! ($arg2 =~ /^[-\w]*$/)) {
elsif (! ($arg2 =~ /^[-\w\/]*$/)) {
print STDERR "VLan->Lookup(): Bad second argument: $arg2\n";
return undef;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment