aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/netflow.c
diff options
context:
space:
mode:
authorCampus <campus@ntop.org>2015-11-12 12:08:41 +0100
committerCampus <campus@ntop.org>2015-11-12 12:08:41 +0100
commita4f170604ce97b12718181fd43f506edbdb0b0d5 (patch)
treee61b9887adde422ff8b7f5fd37b01eb8993c618a /src/lib/protocols/netflow.c
parent349e0b6fd22f50426e37362a92683d0478352882 (diff)
removed kernel support and #if 0s
Diffstat (limited to 'src/lib/protocols/netflow.c')
-rw-r--r--src/lib/protocols/netflow.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/protocols/netflow.c b/src/lib/protocols/netflow.c
index 30bb898f2..54c634263 100644
--- a/src/lib/protocols/netflow.c
+++ b/src/lib/protocols/netflow.c
@@ -23,12 +23,10 @@
#ifdef NDPI_PROTOCOL_NETFLOW
-#ifndef __KERNEL__
#ifdef WIN32
extern int gettimeofday(struct timeval * tp, struct timezone * tzp);
#endif
#define do_gettimeofday(a) gettimeofday(a, NULL)
-#endif
struct flow_ver1_rec {
u_int32_t srcaddr; /* Source IP Address */