diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-10-04 22:44:31 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-10-04 22:44:31 +0000 |
commit | 94f36ca4ff177617fcc4e4ca8a171e374f8aeff6 (patch) | |
tree | 060bfcfb238455d21752efec8612998f2ab1db6f /epan/dissectors/packet-redbackli.c | |
parent | 039fc59cb110aa485e910583d1edd5ff81ca2168 (diff) |
Use ENC_NA as encoding for proto_tree_add_item() calls which directly reference an hf item (in hf[] with types:
FT_NONE
FT_BYTES
FT_IPV6
FT_IPXNET
FT_OID
Note: Encoding field set to ENC_NA only if the field was previously TRUE|FALSE|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN
svn path=/trunk/; revision=39260
Diffstat (limited to 'epan/dissectors/packet-redbackli.c')
-rw-r--r-- | epan/dissectors/packet-redbackli.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-redbackli.c b/epan/dissectors/packet-redbackli.c index deb38a1829..afb96f6c82 100644 --- a/epan/dissectors/packet-redbackli.c +++ b/epan/dissectors/packet-redbackli.c @@ -114,7 +114,7 @@ redbackli_dissect_avp(guint8 avptype, guint8 avplen, tvbuff_t *tvb, gint offset, break; case(RB_AVP_EOH): proto_tree_add_item(st, hf_redbackli_eohpad, tvb, - offset+2, avplen, FALSE); + offset+2, avplen, ENC_NA); break; case(RB_AVP_DIR): proto_tree_add_item(st, hf_redbackli_dir, tvb, @@ -122,11 +122,11 @@ redbackli_dissect_avp(guint8 avptype, guint8 avplen, tvbuff_t *tvb, gint offset, break; case(RB_AVP_ACCTID): proto_tree_add_item(st, hf_redbackli_acctid, tvb, - offset+2, avplen, FALSE); + offset+2, avplen, ENC_NA); break; default: proto_tree_add_item(st, hf_redbackli_unknownavp, tvb, - offset+2, avplen, FALSE); + offset+2, avplen, ENC_NA); break; } |