aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/lib/ipfix_logging.c
diff options
context:
space:
mode:
authorKlement Sekera <klement.sekera@gmail.com>2024-11-26 15:42:41 +0100
committerMatthew Smith <mgsmith@netgate.com>2025-03-14 13:59:31 +0000
commita3df9c283193f5b528ac6c5eac0661b526ed4d63 (patch)
treeeff29f8632943ca43c56ecd66e092055966f5381 /src/plugins/nat/lib/ipfix_logging.c
parentdddb6e07cc862c477724ed22e22c910674d4f0f7 (diff)
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 <klement.sekera@gmail.com>
Diffstat (limited to 'src/plugins/nat/lib/ipfix_logging.c')
-rw-r--r--src/plugins/nat/lib/ipfix_logging.c1
1 files changed, 0 insertions, 1 deletions
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 <vlibmemory/api.h>
#include <vppinfra/atomics.h>
#include <nat/lib/ipfix_logging.h>
-#include <nat/lib/inlines.h>
vlib_node_registration_t nat_ipfix_flush_node;
nat_ipfix_logging_main_t nat_ipfix_logging_main;