diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-10-21 02:10:19 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-10-21 02:10:19 +0000 |
commit | 06b82a395a87dfcf4139fb44caeb9f4952f56b6d (patch) | |
tree | a955184a13d8444bdec0de9200f261c46cfa2734 /epan/dissectors/packet-chdlc.c | |
parent | 75cdd631a75832f542fe2b02ea6a469fdfcffa8a (diff) |
For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
Also: remove trailing whitespace for a number of files.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39503 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-chdlc.c')
-rw-r--r-- | epan/dissectors/packet-chdlc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-chdlc.c b/epan/dissectors/packet-chdlc.c index 35c7d08fc0..a26b60f37d 100644 --- a/epan/dissectors/packet-chdlc.c +++ b/epan/dissectors/packet-chdlc.c @@ -187,7 +187,7 @@ dissect_chdlc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto = tvb_get_ntohs(tvb, 2); if (tree) { - ti = proto_tree_add_item(tree, proto_chdlc, tvb, 0, 4, ENC_BIG_ENDIAN); + ti = proto_tree_add_item(tree, proto_chdlc, tvb, 0, 4, ENC_NA); fh_tree = proto_item_add_subtree(ti, ett_chdlc); proto_tree_add_uint(fh_tree, hf_chdlc_addr, tvb, 0, 1, addr); @@ -275,7 +275,7 @@ dissect_slarp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) code = tvb_get_ntohl(tvb, 0); if (tree) { - ti = proto_tree_add_item(tree, proto_slarp, tvb, 0, 14, ENC_BIG_ENDIAN); + ti = proto_tree_add_item(tree, proto_slarp, tvb, 0, 14, ENC_NA); slarp_tree = proto_item_add_subtree(ti, ett_slarp); } |