diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-10-10 23:36:07 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-10-10 23:36:07 +0000 |
commit | ee395460d01d173527f56b233bd91201073c9f90 (patch) | |
tree | f310ef3ee829de7135447b77ade82eaea2c20c07 /epan/dissectors/packet-iscsi.c | |
parent | 232629191b294596db475f95435bc857aa5720c5 (diff) |
Fix benign bugs in some proto_tree_add_item() 'encoding' args;
svn path=/trunk/; revision=39351
Diffstat (limited to 'epan/dissectors/packet-iscsi.c')
-rw-r--r-- | epan/dissectors/packet-iscsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-iscsi.c b/epan/dissectors/packet-iscsi.c index 0fb93df786..547e6175a0 100644 --- a/epan/dissectors/packet-iscsi.c +++ b/epan/dissectors/packet-iscsi.c @@ -1393,7 +1393,7 @@ dissect_iscsi_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint off proto_tree *tt = proto_item_add_subtree(tf, ett_iscsi_Flags); #endif - proto_tree_add_item(ti, hf_iscsi_snack_type, tvb, offset + 1, 1, b); + proto_tree_add_item(ti, hf_iscsi_snack_type, tvb, offset + 1, 1, ENC_BIG_ENDIAN); } if(iscsi_protocol_version > ISCSI_PROTOCOL_DRAFT09) { proto_tree_add_item(ti, hf_iscsi_TotalAHSLength, tvb, offset + 4, 1, ENC_BIG_ENDIAN); |