aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_main.c
diff options
context:
space:
mode:
authorToni <matzeton@googlemail.com>2022-03-09 13:53:04 +0100
committerGitHub <noreply@github.com>2022-03-09 13:53:04 +0100
commitf646a4bce036edfd26215b5875fe81473dbb175d (patch)
treea416221ab841c6adb443fe01c0f7c2f3dea85fc2 /src/lib/ndpi_main.c
parent74ae315e36cf206961affa5bd2869c025e4c751f (diff)
Improved ASN/IP update scripts and CI integration. (#1474)
* CI will print a warning 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.c2
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;