From e2789a87c2a7d3a575fc197cae49a399085e30f7 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 25 Mar 2016 12:55:23 +0100 Subject: [PATCH] detect: shrink IPOnlyCIDRItem with 8 bytes --- src/detect.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */