1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 12:19:02 +00:00

Fixed typo from previous patch

This commit is contained in:
michael
2008-08-02 19:45:04 +00:00
parent a4542861a8
commit aaf2a60970

View File

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