aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tap.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/tap.c')
-rw-r--r--epan/tap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/tap.c b/epan/tap.c
index 605c4990ee..c0b7f92c2f 100644
--- a/epan/tap.c
+++ b/epan/tap.c
@@ -352,7 +352,7 @@ tap_push_tapped_queue(epan_dissect_t *edt)
for(tl=(tap_listener_t *)tap_listener_queue;tl;tl=tl->next){
tp=&tap_packet_array[i];
/* Don't tap the packet if it's an "error" unless the listener tells us to */
- if ((!tp->flags & TAP_PACKET_IS_ERROR_PACKET) || (tl->flags & TL_REQUIRES_ERROR_PACKETS))
+ if (!(tp->flags & TAP_PACKET_IS_ERROR_PACKET) || (tl->flags & TL_REQUIRES_ERROR_PACKETS))
{
if(tp->tap_id==tl->tap_id){
gboolean passed=TRUE;