Commit 9fcf8d23 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Hmm, didn't like the last fix. Slight rewrite of it.

parent 3dbba59d
......@@ -246,7 +246,7 @@ while (($vname,$member) = $result->fetchrow_array) {
$lancount{$vname} = 0;
}
$lancount{$vname} += 1;
if ($lancount{$vname} > 2 && $vnodelans{$vname}) {
if ($lancount{$vname} > 2 && defined($vnodelans{$vname})) {
die("*** $0:\n".
" Virtual node $node in lan $vname not allowed!\n");
}
......
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