mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Remove NOLUA guards around NewTargets code. This code compiles fine
--without-liblua.
This commit is contained in:
parent
23908b40a8
commit
430a1287a6
2 changed files with 0 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue