aboutsummaryrefslogtreecommitdiff
path: root/example/ndpi_util.c
diff options
context:
space:
mode:
authorVito Piserchia <vito.piserchia@dreamlab.net>2016-11-02 10:16:16 +0100
committerVito Piserchia <vito.piserchia@dreamlab.net>2016-11-02 10:16:16 +0100
commit8169b35fa68c5dde575b961820271f4b05dd6e4d (patch)
tree2b756f754449c9c8e180b0a8a7fb93af1229fd65 /example/ndpi_util.c
parent78ebb3445a34f3bc2aea494c9a3d5c5499f2503e (diff)
parent097ba22a595f7d5e8f4f58dcd4c3e7e77d71e355 (diff)
Merge remote-tracking branch 'upstream/dev' into dev
Diffstat (limited to 'example/ndpi_util.c')
-rw-r--r--example/ndpi_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ndpi_util.c b/example/ndpi_util.c
index 405cac366..672eee561 100644
--- a/example/ndpi_util.c
+++ b/example/ndpi_util.c
@@ -748,7 +748,7 @@ void ndpi_workflow_process_packet (struct ndpi_workflow * workflow,
}
if(iph->version == 4) {
- ip_len = ((u_short)iph->ihl * 4);
+ ip_len = ((u_int16_t)iph->ihl * 4);
iph6 = NULL;
if(iph->protocol == 41) {