1
0
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:
david
2008-12-04 17:20:07 +00:00
parent c561222685
commit e37bb72cd1
4 changed files with 7 additions and 35 deletions

View File

@@ -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