diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2022-03-04 09:11:38 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2022-03-08 14:10:57 +0100 |
commit | 34c43cae35d8ee89571c1486a91ef3e37f690617 (patch) | |
tree | 39bacdb1be31a8fb4427fb75beb172e2100d059a /src/lib/ndpi_main.c | |
parent | 269be6c7ef038d2de377546813fbb2bacf80e510 (diff) |
Improved ASN/IP update scripts and CI integration.improved/ci-test-update-scripts
* CI will fail if ASN/IP addresses changed.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 187081c1d..14eb06062 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -4619,7 +4619,7 @@ static int ndpi_init_packet(struct ndpi_detection_module_struct *ndpi_str, packet->current_time_ms = current_time_ms; - packet->iph = (struct ndpi_iphdr *)packet_data; + packet->iph = (const struct ndpi_iphdr *)packet_data; /* reset payload_packet_len, will be set if ipv4 tcp or udp */ packet->payload = NULL; |