1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-02 21:09:00 +00:00

Updated as per Davids request. I misinterpreted what David said and made a change, when he really meant for me to suggest the change in the mailing list rather then just committing it.

This commit is contained in:
michael
2008-08-02 20:42:11 +00:00
parent 64219d7e41
commit 4a7022bf04

View File

@@ -1258,12 +1258,10 @@ void output_xml_scaninfo_records(struct scan_lists *scanlist) {
doscaninfo("maimon", "tcp", scanlist->tcp_ports, scanlist->tcp_count);
if (o.finscan)
doscaninfo("fin", "tcp", scanlist->tcp_ports, scanlist->tcp_count);
if (o.ipprotscan)
doscaninfo("ipproto", "ip", scanlist->prots, scanlist->prot_count);
if (o.idlescan)
doscaninfo("idle", "tcp", scanlist->tcp_ports, scanlist->tcp_count);
if (o.udpscan)
doscaninfo("udp", "udp", scanlist->udp_ports, scanlist->udp_count);
if (o.ipprotscan)
doscaninfo("ipproto", "ip", scanlist->prots, scanlist->prot_count);
log_flush_all();
}