aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.h
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2021-03-23 11:47:29 +0100
committerGitHub <noreply@github.com>2021-03-23 11:47:29 +0100
commita6029d250d9c5dd0d7346fe47de838c243c20cac (patch)
tree0ed238d0235cb2e8db36e4fb65b15064b659b6c9 /example/reader_util.h
parentb04040768323a7666bcf588f2323054082883d75 (diff)
ndpiReader: print an error msg if we found an unsupported datalink type (#1157)
Diffstat (limited to 'example/reader_util.h')
-rw-r--r--example/reader_util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/example/reader_util.h b/example/reader_util.h
index e317b4aa8..5ec8b558c 100644
--- a/example/reader_util.h
+++ b/example/reader_util.h
@@ -318,6 +318,7 @@ struct ndpi_proto ndpi_workflow_process_packet(struct ndpi_workflow * workflow,
const u_char *packet,
FILE * csv_fp);
+int ndpi_is_datalink_supported(int datalink_type);
/* flow callbacks for complete detected flow
(ndpi_flow_info will be freed right after) */