]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
decode: remove unused macros 7803/head
authorJuliana Fajardini <jufajardini@oisf.net>
Tue, 23 Aug 2022 13:35:18 +0000 (10:35 -0300)
committerJuliana Fajardini <jufajardini@oisf.net>
Wed, 31 Aug 2022 16:19:41 +0000 (13:19 -0300)
With the recent changes, these macros weren't being used anymore.

Related to
Bug #5458

(cherry picked from commit e7727c3744bf1ec44d8cd74df6d8dd8bbd725ab8)

src/decode.h

index 14e8ae014a7b9f38b29326d7d06365f4c8c49bda..308774c97031eba1a7bbb37562b977992d5797ae 100644 (file)
@@ -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)