aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.h
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2022-11-16 17:48:28 +0100
committerLuca Deri <deri@ntop.org>2022-11-16 17:48:28 +0100
commit4231f4805965544994fa8d5b0d0ec56573c5f5d2 (patch)
tree50559d9a88aebb854df3d40cc03f91b170051c6f /example/reader_util.h
parent388d01a345a4cfa6d1e9b544899c48326b61ca5b (diff)
Added support for Linux Cooked Capture v2
Diffstat (limited to 'example/reader_util.h')
-rw-r--r--example/reader_util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/example/reader_util.h b/example/reader_util.h
index 6d343551e..ce296e2d2 100644
--- a/example/reader_util.h
+++ b/example/reader_util.h
@@ -424,4 +424,8 @@ extern int nDPI_LogLevel;
#define LOG(...) {}
#endif
+#ifndef LINKTYPE_LINUX_SLL2
+#define LINKTYPE_LINUX_SLL2 276
+#endif
+
#endif