Commit 7d705059 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Do not bother to vary the port number, since we no longer use reuse

the multicast IP address. Mike sez it makes the firewall rules easier.
parent 67507e83
......@@ -421,7 +421,6 @@ sub pick_address {
}
}
my $address = "${a}.${b}.${c}.${d}";
my $port = $BASEPORT + ((($c << 8) | $d) & 0x7FFF);
# Insert back into emulab_indicies for next time.
$idx = unpack("N", inet_aton($address));
......@@ -429,7 +428,7 @@ sub pick_address {
DBQueryFatal("update emulab_indicies set idx=$idx ".
"where name='frisbee_mcastaddr'");
return "${address}:${port}";
return "${address}:${BASEPORT}";
}
# Pass in an imageid, and an address
......
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