1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-03 05:09:14 +00:00

Fix some output I missed cleaning up after indent.

This commit is contained in:
david
2009-10-23 23:45:55 +00:00
parent 6ac2ec8a77
commit c66cf4f568

View File

@@ -1293,21 +1293,20 @@ void output_ports_to_machine_parseable_output(struct scan_lists *ports,
log_flush_all();
}
//A simple helper function for doscaninfo handles the c14n of o.scanflags
// A simple helper function for doscaninfo handles the c14n of o.scanflags
static void doscanflags() {
struct {
unsigned char flag;
const char *name;
} flags[] = {
{
TH_FIN, "FIN"}, {
TH_SYN, "SYN"}, {
TH_RST, "RST"}, {
TH_PUSH, "PSH"}, {
TH_ACK, "ACK"}, {
TH_URG, "URG"}, {
TH_ECE, "ECE"}, {
TH_CWR, "CWR"}
{ TH_FIN, "FIN" },
{ TH_SYN, "SYN" },
{ TH_RST, "RST" },
{ TH_PUSH, "PSH" },
{ TH_ACK, "ACK" },
{ TH_URG, "URG" },
{ TH_ECE, "ECE" },
{ TH_CWR, "CWR" }
};
if (o.scanflags != -1) {
log_write(LOG_XML, "scanflags=\"");