mirror of https://github.com/OISF/suricata
cocci: remove action check as we no longer use macros
(cherry picked from commit 34ee53e5ec)
pull/8212/head
parent
84da659559
commit
a1ebc3d860
@ -1,15 +0,0 @@
|
||||
@action@
|
||||
typedef Packet;
|
||||
Packet *p;
|
||||
position p1;
|
||||
@@
|
||||
|
||||
p->action@p1
|
||||
|
||||
@ script:python @
|
||||
p1 << action.p1;
|
||||
@@
|
||||
|
||||
print("Invalid usage of p->action, please use macro at %s:%s" % (p1[0].file, p1[0].line))
|
||||
import sys
|
||||
sys.exit(1)
|
||||
Loading…
Reference in New Issue