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

Make the old massping be used when NEW_MASSPING is undefined in targets.h. This

is the last revision that contains massping.
This commit is contained in:
david
2007-10-12 03:38:38 +00:00
parent e0de18c783
commit c76cdc8e44
2 changed files with 7 additions and 4 deletions

View File

@@ -111,10 +111,6 @@
#include "nmap_tty.h"
#include "utils.h"
/* If defined, use the new massping that uses ultra_scan instead of the old
standalone function. */
#define NEW_MASSPING
using namespace std;
extern NmapOps o;
enum pingstyle { pingstyle_unknown, pingstyle_rawtcp, pingstyle_rawudp, pingstyle_connecttcp,

View File

@@ -126,6 +126,10 @@
#include "nmap.h"
#include "global_structures.h"
/* If defined, use the new massping that uses ultra_scan instead of the old
standalone function. */
#define NEW_MASSPING
class HostGroupState;
/**************************STRUCTURES******************************/
@@ -156,6 +160,9 @@ struct tcpqueryinfo {
struct pingtech {
unsigned int rawicmpscan: 1,
#ifndef NEW_MASSPING
icmpscan: 1,
#endif
connecttcpscan: 1,
rawtcpscan: 1,
rawudpscan: 1;