mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 05:01:29 +00:00
Remove the unused HOST_FIREWALLED and HOST_BROADCAST flags. The only flags used
are HOST_UNKNOWN, HOST_UP, and HOST_DOWN, and they're not "flags" as such because they are mutually exclusive.
This commit is contained in:
4
Target.h
4
Target.h
@@ -254,10 +254,8 @@ class Target {
|
||||
FingerPrintResults *FPR; /* FP results get by the OS scan system. */
|
||||
PortList ports;
|
||||
|
||||
// unsigned int up;
|
||||
// unsigned int down;
|
||||
int weird_responses; /* echo responses from other addresses, Ie a network broadcast address */
|
||||
unsigned int flags; /* HOST_UP, HOST_DOWN, HOST_FIREWALLED, HOST_BROADCAST (instead of HOST_BROADCAST use weird_responses */
|
||||
unsigned int flags; /* HOST_UNKNOWN, HOST_UP, or HOST_DOWN. */
|
||||
struct timeout_info to;
|
||||
char *hostname; // Null if unable to resolve or unset
|
||||
char * targetname; // The name of the target host given on the commmand line if it is a named host
|
||||
|
||||
Reference in New Issue
Block a user