diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-09-14 18:30:45 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-09-14 18:38:37 +0200 |
commit | aa89800ff996cec0305b1dde31e2dfb0a89c9bbc (patch) | |
tree | 6f97ff63bb928e8eefcbe9473679cc156db08b51 /nDPId.c | |
parent | ea0b04d6482a686e967f8372af606115a3b191a9 (diff) |
fixed Warnings / build error / cosmetics
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'nDPId.c')
-rw-r--r-- | nDPId.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2562,14 +2562,14 @@ static void ndpi_process_packet(uint8_t * const args, struct ndpi_ipv6hdr * ip6; uint64_t time_ms; - uint16_t ip_offset; + uint16_t ip_offset = 0; uint16_t ip_size; const uint8_t * l4_ptr = NULL; uint16_t l4_len = 0; uint16_t l4_payload_len = 0; - uint16_t type; + uint16_t type = 0; int thread_index = nDPId_THREAD_DISTRIBUTION_SEED; // generated with `dd if=/dev/random bs=1024 count=1 |& hd' if (reader_thread == NULL) |