Commit f58c4836 authored by Robert Ricci's avatar Robert Ricci
Browse files

Fix dumb bug in ptopgen

My attempt to make the 'procurve1' hack apply only to Utah backfired
and removed the LAN node for all sites not at Utah. Bah!
parent 3a5bf377
......@@ -1674,7 +1674,7 @@ sub print_switch
# LAN nodes, which encourages the placement of all LAN members on the same
# switch
my $types = ["switch:1"];
if (defined($MAINSITE) && $MAINSITE && $name ne "procurve1") {
if (!(defined($MAINSITE) && $MAINSITE && $name eq "procurve1")) {
push(@$types, "*lan:*");
}
print_node($name, $types, [], [], $uuid, $interfaces,
......
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