From 1710c5f13ddf4bd69aa474541125b3bd74566a71 Mon Sep 17 00:00:00 2001 From: Juliana Fajardini Date: Tue, 23 Aug 2022 10:35:18 -0300 Subject: [PATCH] decode: remove unused macros With the recent changes, these macros weren't being used anymore. Related to Bug #5458 (cherry picked from commit e7727c3744bf1ec44d8cd74df6d8dd8bbd725ab8) --- src/decode.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/decode.h b/src/decode.h index 14e8ae014a..308774c970 100644 --- a/src/decode.h +++ b/src/decode.h @@ -896,12 +896,6 @@ void CaptureStatsSetup(ThreadVars *tv, CaptureStats *s); #define PACKET_ACCEPT(p) PACKET_SET_ACTION(p, ACTION_ACCEPT) -#define PACKET_REJECT(p) PACKET_SET_ACTION(p, (ACTION_REJECT|ACTION_DROP)) - -#define PACKET_REJECT_DST(p) PACKET_SET_ACTION(p, (ACTION_REJECT_DST|ACTION_DROP)) - -#define PACKET_REJECT_BOTH(p) PACKET_SET_ACTION(p, (ACTION_REJECT_BOTH|ACTION_DROP)) - #define PACKET_PASS(p) PACKET_SET_ACTION(p, ACTION_PASS) #define PACKET_TEST_ACTION_DO(p, a) (p)->action &(a) -- 2.47.2