aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2008-08-22 14:28:03 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2008-08-22 14:28:03 +0000
commita4d90dd0aea284f7be811cacedc41afe8cf96e09 (patch)
tree8a1acb22776baf1063e769d21ac1aaac968165a6 /epan
parentf23fa88cd8bece61bab82559036340c5afeae423 (diff)
Fix a (probably benign) case where it appears that && should be &
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26058 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-snmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-snmp.c b/epan/dissectors/packet-snmp.c
index fd9bffa7b0..f08a2172fb 100644
--- a/epan/dissectors/packet-snmp.c
+++ b/epan/dissectors/packet-snmp.c
@@ -979,7 +979,7 @@ int dissect_snmp_engineid(proto_tree *tree, tvbuff_t *tvb, int offset, int len)
/* first bit: engine id conformance */
if (len_remain<4) return offset;
- conformance = ((tvb_get_guint8(tvb, offset)>>7) && 0x01);
+ conformance = ((tvb_get_guint8(tvb, offset)>>7) & 0x01);
proto_tree_add_item(tree, hf_snmp_engineid_conform, tvb, offset, 1, FALSE);
/* 4-byte enterprise number/name */