Commit 3dbba59d authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Fix stupid bug I introduced; I hate lans!

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