aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2022-03-06 17:54:03 +0100
committerToni Uhlig <matzeton@googlemail.com>2022-03-06 17:58:25 +0100
commitd0985a5732f495c0cdecfdd12dc50d781ef51b24 (patch)
tree47d675b1b3fe7174445dedd2833cf90f24ceee81
parente09dd8509f038190cd0f985e06f7e799979dfc76 (diff)
Fixed build error regarding missing LINKTYPE_* define's.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r--nDPId.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/nDPId.c b/nDPId.c
index 3c27af7d3..a7e41fb4a 100644
--- a/nDPId.c
+++ b/nDPId.c
@@ -38,6 +38,14 @@
#define ETHERTYPE_PAE 0x888e
#endif
+#ifndef DLT_DSA_TAG_DSA
+#define DLT_DSA_TAG_DSA 284
+#endif
+
+#ifndef DLT_DSA_TAG_EDSA
+#define DLT_DSA_TAG_EDSA 285
+#endif
+
#if ((NDPI_MAJOR == 3 && NDPI_MINOR < 5) || NDPI_MAJOR < 3) && NDPI_API_VERSION < 4087
#error "nDPI >= 3.5.0 or API version >= 4087 required"
#endif