Commit 88ddbe8d authored by Jonathon Duerig's avatar Jonathon Duerig
Browse files

Add conditional for MAINSITE when generating link types based on auxspeeds.

parent 81fce02b
...@@ -1962,7 +1962,7 @@ while (($node1,$card1,$port1,$node2,$card2,$port2) = ...@@ -1962,7 +1962,7 @@ while (($node1,$card1,$port1,$node2,$card2,$port2) =
$switchobj = undef; $switchobj = undef;
} }
if ($pid && $pid ne 'emulab-ops' && $pid ne 'testbed') { if (!(defined($MAINSITE) && $MAINSITE)) {
$leaf_iface_type = undef; $leaf_iface_type = 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