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:
19
output.cc
19
output.cc
@@ -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=\"");
|
||||
|
||||
Reference in New Issue
Block a user