aboutsummaryrefslogtreecommitdiff
path: root/example/ndpi_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/ndpi_util.c')
-rw-r--r--example/ndpi_util.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/example/ndpi_util.c b/example/ndpi_util.c
index 93949c277..ae7383fbd 100644
--- a/example/ndpi_util.c
+++ b/example/ndpi_util.c
@@ -556,7 +556,6 @@ void ndpi_workflow_process_packet (struct ndpi_workflow * workflow,
int llc_off;
int pyld_eth_len = 0;
int check;
- u_int32_t fcs;
u_int64_t time;
u_int16_t ip_offset, ip_len, ip6_offset;
u_int16_t frag_off = 0, vlan_id = 0;
@@ -646,8 +645,6 @@ void ndpi_workflow_process_packet (struct ndpi_workflow * workflow,
return;
}
- fcs = header->len - 4;
-
/* Calculate 802.11 header length (variable) */
wifi = (struct ndpi_wifi_header*)( packet + eth_offset + radio_len);
fc = wifi->fc;