aboutsummaryrefslogtreecommitdiff
path: root/example/ndpi_util.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2016-05-24 08:12:36 +0200
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2016-05-24 08:12:36 +0200
commit9935cb0e3ba59db43cdc3707f6b5b8718daa4249 (patch)
treeb26d111a1bc2aadde5bee4f5796334f2f03aed5a /example/ndpi_util.c
parent594f7074f73f9ef4b3aa2636f8be3c52ec9132c8 (diff)
ndpi_util.c: fix The right operand of '+' is a garbage value
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 ae7383fbd..939b3efd0 100644
--- a/example/ndpi_util.c
+++ b/example/ndpi_util.c
@@ -552,7 +552,7 @@ void ndpi_workflow_process_packet (struct ndpi_workflow * workflow,
u_int16_t radio_len;
u_int16_t fc;
u_int16_t type;
- int wifi_len;
+ int wifi_len = 0;
int llc_off;
int pyld_eth_len = 0;
int check;