mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Fix some output I missed cleaning up after indent.
This commit is contained in:
parent
6ac2ec8a77
commit
c66cf4f568
1 changed files with 9 additions and 10 deletions
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=\"");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue