stream: fix direction macro to be used in conditions

pull/8546/head
Victor Julien 3 years ago
parent 3bbed8c1d4
commit 449ed75547

@ -27,7 +27,7 @@
#include "decode.h"
#include "stream-tcp-private.h"
#define STREAM_FLAGS_FOR_PACKET(p) PKT_IS_TOSERVER((p)) ? STREAM_TOSERVER : STREAM_TOCLIENT
#define STREAM_FLAGS_FOR_PACKET(p) (PKT_IS_TOSERVER((p)) ? STREAM_TOSERVER : STREAM_TOCLIENT)
#define STREAM_DUMP_TOCLIENT BIT_U8(1)
#define STREAM_DUMP_TOSERVER BIT_U8(2)

Loading…
Cancel
Save