mirror of https://github.com/OISF/suricata
cocci: remove action check as we no longer use macros
parent
6c200c7793
commit
34ee53e5ec
@ -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