aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-v120.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-v120.c b/epan/dissectors/packet-v120.c
index 438c731965..9072a46471 100644
--- a/epan/dissectors/packet-v120.c
+++ b/epan/dissectors/packet-v120.c
@@ -112,7 +112,7 @@ dissect_v120(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
byte1 = tvb_get_guint8(tvb, 1);
- if ((byte0 & 0x01) != 0x00 && (byte1 && 0x01) != 0x01)
+ if ( ((byte0 & 0x01) != 0x00) && ((byte1 & 0x01) != 0x01) )
{
if (check_col(pinfo->cinfo, COL_INFO))
col_set_str(pinfo->cinfo, COL_INFO, "Invalid V.120 frame");