Fixed a bug where the XML output was not valid.

Signed-off-by: digimer <mkelly@alteeve.ca>
main
digimer 1 year ago
parent d07933a31c
commit 9b90647cc0
  1. 4
      tools/anvil-report-usage

@ -554,12 +554,12 @@ sub show_servers_machine
$anvil->data->{show}{xml} .= " <mac alias=\"".$alias."\" address=\"".$mac."\" model=\"".$model."\" ip=\"".$ip."\" />\n"; $anvil->data->{show}{xml} .= " <mac alias=\"".$alias."\" address=\"".$mac."\" model=\"".$model."\" ip=\"".$ip."\" />\n";
} }
} }
$anvil->data->{show}{xml} .= " </network> $anvil->data->{show}{xml} .= " </network>\n";
</server>\n";
} }
$anvil->data->{show}{xml} .= " </server>\n"; $anvil->data->{show}{xml} .= " </server>\n";
} }
} }
$anvil->data->{show}{xml} .= " </servers>\n";
return(0); return(0);
} }

Loading…
Cancel
Save