aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-hp-erm.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-10-21 02:10:19 +0000
committerBill Meier <wmeier@newsguy.com>2011-10-21 02:10:19 +0000
commit794757ae8fbee85db2b24bc46b7e9cc492de01df (patch)
treea955184a13d8444bdec0de9200f261c46cfa2734 /epan/dissectors/packet-hp-erm.c
parent449d732485da5a19b8a0d3ddef49ed30498712ff (diff)
For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
Diffstat (limited to 'epan/dissectors/packet-hp-erm.c')
-rw-r--r--epan/dissectors/packet-hp-erm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-hp-erm.c b/epan/dissectors/packet-hp-erm.c
index d167d13025..07fe00c2ea 100644
--- a/epan/dissectors/packet-hp-erm.c
+++ b/epan/dissectors/packet-hp-erm.c
@@ -30,14 +30,14 @@
* "Traffic Mirroring" in Appendix B of the HP manual
* "Management and Configuration Guide for the ProCurve Series
* 3500, 3500yl, 5400zl, 6200yl, 6600, and 8200zl Switches (September 2009)"
- *
+ *
* Format:
* The above manual indicates that the encapsulatedmirrored frame is transmitted
* on the network as a [UDP] packet which has 54 bytes preceding the mirrored frame.
- * Examining a sample capture shows that this means that the data payload
- * of the UDP packet consists of a 12 byte "header" followed by the
+ * Examining a sample capture shows that this means that the data payload
+ * of the UDP packet consists of a 12 byte "header" followed by the
* byes of the mirrored frame.
- *
+ *
*/
#ifdef HAVE_CONFIG_H
@@ -70,7 +70,7 @@ dissect_hp_erm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
col_set_str(pinfo->cinfo, COL_INFO, PROTO_SHORT_NAME ":");
if (tree) {
- ti = proto_tree_add_item(tree, proto_hp_erm, tvb, 0, -1, FALSE);
+ ti = proto_tree_add_item(tree, proto_hp_erm, tvb, 0, -1, ENC_NA);
hp_erm_tree = proto_item_add_subtree(ti, ett_hp_erm);
proto_tree_add_item(hp_erm_tree, hf_hp_erm_unknown, tvb, 0, 12, ENC_NA);
}