From 8d08f8dd79ac12874ba0da6b26973f5a33163131 Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Thu, 4 Feb 2021 12:20:30 +0100 Subject: [HICN-679] Do not throw exception when receiving corrupted/not-hicn packet from network layer Signed-off-by: Mauro Sardara Change-Id: I082e3c1b5fc9f535089114cfe14940f094947b66 Signed-off-by: Mauro Sardara --- lib/includes/hicn/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/includes/hicn/common.h') diff --git a/lib/includes/hicn/common.h b/lib/includes/hicn/common.h index 30f370241..6904c6314 100644 --- a/lib/includes/hicn/common.h +++ b/lib/includes/hicn/common.h @@ -250,7 +250,7 @@ u32 cumulative_hash32 (const void *data, size_t len, u32 lastValue); u32 hash32 (const void *data, size_t len); u64 cumulative_hash64 (const void *data, size_t len, u64 lastValue); u64 hash64 (const void *data, size_t len); -void hicn_packet_dump (uint8_t * buffer, size_t len); +void hicn_packet_dump (const uint8_t * buffer, size_t len); #endif /* ! HICN_VPP_PLUGIN */ -- cgit 1.2.3-korg