Commit cab1cc16 authored by Gary Wong's avatar Gary Wong
Browse files

Fix number of free public IP addresses reported in advertisements.

parent 2bf8e4c8
......@@ -2328,7 +2328,8 @@ sub print_header {
my $configured = $result->rows;
$result = DBQueryFatal("select IP from virt_node_public_addr ".
"where node_id is null");
"where node_id is null and " .
"pool_id is null");
my $available = $result->rows;
print "<rspec_routable_addresses xmlns=\"" . $emulabns . "\" " .
......
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