mirror of
https://github.com/ntop/ntopng.git
synced 2026-08-21 06:13:22 +00:00
Add current zmq header version in ExportInterface
This commit is contained in:
parent
3cf548123d
commit
ef10ba3540
6 changed files with 1 additions and 63 deletions
|
|
@ -4679,27 +4679,6 @@ bool NetworkInterface::processPacket(const struct bpf_timeval *when,
|
|||
|
||||
/* **************************************** */
|
||||
|
||||
static bool hosts_with_anomalies_walker(GenericHashEntry *node, void *data) {
|
||||
Host *h = (Host*)node;
|
||||
lua_State *vm = (lua_State*)data;
|
||||
|
||||
if(h && h->hasAnomalies()) {
|
||||
h->lua(vm, NULL, true, true, false, true, false);
|
||||
}
|
||||
|
||||
return(false); /* false = keep on walking */
|
||||
}
|
||||
|
||||
/* **************************************** */
|
||||
|
||||
void NetworkInterface::listHostsWithAnomalies(lua_State *vm) {
|
||||
lua_newtable(vm);
|
||||
|
||||
walker(walker_hosts, hosts_with_anomalies_walker, vm);
|
||||
}
|
||||
|
||||
/* **************************************** */
|
||||
|
||||
bool NetworkInterface::isInterfaceUp(char *name) {
|
||||
#ifdef WIN32
|
||||
return(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue