From: Victor Julien Date: Wed, 16 Dec 2015 10:02:15 +0000 (+0100) Subject: icmpv4: remove unused header fields X-Git-Tag: suricata-3.0RC3~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=083f22f6d6d77aa1cb8d43775e98c0f148cfc481;p=thirdparty%2Fsuricata.git icmpv4: remove unused header fields --- diff --git a/src/decode-icmpv4.h b/src/decode-icmpv4.h index da5821d675..2f5862d389 100644 --- a/src/decode-icmpv4.h +++ b/src/decode-icmpv4.h @@ -179,8 +179,6 @@ typedef struct ICMPV4Vars_ { uint16_t id; uint16_t seq; - uint32_t mtu; - uint32_t error_ptr; /** Pointers to the embedded packet headers */ IPV4Hdr *emb_ipv4h; @@ -203,8 +201,6 @@ typedef struct ICMPV4Vars_ (p)->level4_comp_csum = -1; \ (p)->icmpv4vars.id = 0; \ (p)->icmpv4vars.seq = 0; \ - (p)->icmpv4vars.mtu = 0; \ - (p)->icmpv4vars.error_ptr = 0; \ (p)->icmpv4vars.emb_ipv4h = NULL; \ (p)->icmpv4vars.emb_tcph = NULL; \ (p)->icmpv4vars.emb_udph = NULL; \