From a3df9c283193f5b528ac6c5eac0661b526ed4d63 Mon Sep 17 00:00:00 2001 From: Klement Sekera Date: Tue, 26 Nov 2024 15:42:41 +0100 Subject: ip: fix ICMP inner payload parsing Add a check so that ICMP type is verified to be an error before parsing inner payload. If it's not an error, then the inner payload is not there. Type: fix Fixes: 46d0ff3945 Change-Id: I5c7d8ddacb347ec030784f349064e66d63cd525e Signed-off-by: Klement Sekera --- src/plugins/nat/lib/ipfix_logging.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/plugins/nat/lib/ipfix_logging.c') diff --git a/src/plugins/nat/lib/ipfix_logging.c b/src/plugins/nat/lib/ipfix_logging.c index 593fa09f7e2..f569ccd1918 100644 --- a/src/plugins/nat/lib/ipfix_logging.c +++ b/src/plugins/nat/lib/ipfix_logging.c @@ -22,7 +22,6 @@ #include #include #include -#include vlib_node_registration_t nat_ipfix_flush_node; nat_ipfix_logging_main_t nat_ipfix_logging_main; -- cgit 1.2.3-korg