From 40afbf5b0919c856c9c73d858225b9c9889385a3 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 22 Mar 2024 09:44:59 +0100 Subject: [PATCH] decode/ipv4: remove unused field --- src/decode-ipv4.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/decode-ipv4.h b/src/decode-ipv4.h index de32ed8277..cb0734aa4c 100644 --- a/src/decode-ipv4.h +++ b/src/decode-ipv4.h @@ -170,15 +170,11 @@ enum IPV4OptionFlags { }; /* helper structure with parsed ipv4 info */ -typedef struct IPV4Vars_ -{ - int32_t comp_csum; /* checksum computed over the ipv4 packet */ - +typedef struct IPV4Vars_ { uint16_t opt_cnt; uint16_t opts_set; } IPV4Vars; - void DecodeIPV4RegisterTests(void); /** ----- Inline functions ----- */