From: Victor Julien Date: Fri, 25 Mar 2016 11:55:23 +0000 (+0100) Subject: detect: shrink IPOnlyCIDRItem with 8 bytes X-Git-Tag: suricata-3.1RC1~298 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2789a87c2a7d3a575fc197cae49a399085e30f7;p=thirdparty%2Fsuricata.git detect: shrink IPOnlyCIDRItem with 8 bytes --- diff --git a/src/detect.h b/src/detect.h index 6abd893794..3bee26fcd9 100644 --- a/src/detect.h +++ b/src/detect.h @@ -312,12 +312,12 @@ typedef struct DetectPort_ { typedef struct IPOnlyCIDRItem_ { /* address data for this item */ uint8_t family; - uint32_t ip[4]; /* netmask in CIDR values (ex. /16 /18 /24..) */ uint8_t netmask; - /* If this host or net is negated for the signum */ uint8_t negated; + + uint32_t ip[4]; SigIntId signum; /**< our internal id */ /* linked list, the header should be the biggest network */