]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
decode events: add debug statement
authorVictor Julien <victor@inliniac.net>
Mon, 10 Dec 2012 12:46:42 +0000 (13:46 +0100)
committerVictor Julien <victor@inliniac.net>
Mon, 10 Dec 2012 12:46:59 +0000 (13:46 +0100)
src/decode.h

index 04113c59cc0db5416495b480e83d554fb458384a..c918e9b472da1080ab808e090ab996222652a962 100644 (file)
@@ -863,6 +863,7 @@ void AddressDebugPrint(Address *);
 
 
 #define ENGINE_SET_EVENT(p, e) do { \
+    SCLogDebug("p %p event %d", (p), e); \
     if ((p)->events.cnt < PACKET_ENGINE_EVENT_MAX) { \
         (p)->events.events[(p)->events.cnt] = e; \
         (p)->events.cnt++; \