1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-20 13:19:01 +00:00

Remove NOLUA guards around NewTargets code. This code compiles fine

--without-liblua.
This commit is contained in:
david
2010-09-07 19:23:56 +00:00
parent 23908b40a8
commit 430a1287a6
2 changed files with 0 additions and 6 deletions

View File

@@ -100,9 +100,7 @@
extern NmapOps o;
#ifndef NOLUA
NewTargets *NewTargets::new_targets;
#endif
TargetGroup::TargetGroup() {
Initialize();
@@ -567,7 +565,6 @@ const std::list<struct sockaddr_storage> &TargetGroup::get_resolved_addrs(void)
return resolvedaddrs;
}
#ifndef NOLUA
/* debug level for the adding target is: 3 */
NewTargets *NewTargets::get (void) {
if (new_targets)
@@ -662,7 +659,6 @@ unsigned long NewTargets::insert (const char *target) {
return new_targets->push(target);
}
#endif
/* Lookahead is the number of hosts that can be
checked (such as ping scanned) in advance. Randomize causes each

View File

@@ -175,7 +175,6 @@ class TargetGroup {
};
/* Adding new targets is for NSE scripts */
#ifndef NOLUA
class NewTargets {
public:
NewTargets();
@@ -218,7 +217,6 @@ class NewTargets {
protected:
static NewTargets *new_targets;
};
#endif
class HostGroupState {
public: