From c914f7bcdc40d60b6a27354a9c04d79cb89d52ae Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Tue, 21 Oct 2014 10:43:56 +0200 Subject: [PATCH] detect: cleanup, remove unused order_id No longer used, so remove. --- src/decode.h | 1 - src/detect-engine-alert.c | 1 - 2 files changed, 2 deletions(-) diff --git a/src/decode.h b/src/decode.h index 2af5494e29..9a0bfde924 100644 --- a/src/decode.h +++ b/src/decode.h @@ -255,7 +255,6 @@ typedef uint16_t Port; * found in this packet */ typedef struct PacketAlert_ { SigIntId num; /* Internal num, used for sorting */ - SigIntId order_id; /* Internal num, used for sorting */ uint8_t action; /* Internal num, used for sorting */ uint8_t flags; struct Signature_ *s; diff --git a/src/detect-engine-alert.c b/src/detect-engine-alert.c index db9becc5cb..428ff42195 100644 --- a/src/detect-engine-alert.c +++ b/src/detect-engine-alert.c @@ -46,7 +46,6 @@ void PacketAlertTagInit(void) memset(&g_tag_pa, 0x00, sizeof(g_tag_pa)); - g_tag_pa.order_id = 1000; g_tag_pa.action = ACTION_ALERT; g_tag_pa.s = &g_tag_signature; }