From f646a4bce036edfd26215b5875fe81473dbb175d Mon Sep 17 00:00:00 2001 From: Toni Date: Wed, 9 Mar 2022 13:53:04 +0100 Subject: Improved ASN/IP update scripts and CI integration. (#1474) * CI will print a warning if ASN/IP addresses changed. Signed-off-by: Toni Uhlig --- src/lib/ndpi_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/ndpi_main.c') 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; -- cgit v1.2.3