diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-05-07 19:38:26 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-05-07 19:38:26 +0000 |
commit | dc06d2643a8108bf21567cb6a1982996886f4fc7 (patch) | |
tree | 01263a574a1edddd781c08e0bb3bff6e31cffd60 /epan/dissectors | |
parent | 25fe8a3f2203e5fc2114fd31fde7acec68be1692 (diff) |
Get rid of remaining Booleans-as-encoding-arguments in
proto_tree_add_item() calls.
(The field is a counted string, so the byte order is in theory relevant,
although the count is, in this case, a single byte.)
svn path=/trunk/; revision=42482
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-elcom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-elcom.c b/epan/dissectors/packet-elcom.c index 37768c869d..1db4a92775 100644 --- a/epan/dissectors/packet-elcom.c +++ b/epan/dissectors/packet-elcom.c @@ -218,7 +218,7 @@ dissect_lower_address(proto_item *ti_arg, gint ett_arg, /* SUFFIX */ suffix = tvb_get_string(tvb, offset+1, len2); - ti = proto_tree_add_item(tree, hf_suff, tvb, offset, 1, TRUE); + ti = proto_tree_add_item(tree, hf_suff, tvb, offset, 1, ENC_ASCII|ENC_LITTLE_ENDIAN); offset += len2+1; if (!(suffix[0] == 'A' || suffix[0] == 'B')) { |