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-hpteam.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-hpteam.c')
-rw-r--r-- | epan/dissectors/packet-hpteam.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-hpteam.c b/epan/dissectors/packet-hpteam.c index 597a237e19..465d9fa975 100644 --- a/epan/dissectors/packet-hpteam.c +++ b/epan/dissectors/packet-hpteam.c @@ -65,7 +65,7 @@ dissect_hpteam(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) strPtr = ether_to_str(mac_addr); HP_Mac = "03:00:c7:00:00:ee"; /* - * Check to see if SNAP frame is a HP Teaming frame or + * Check to see if SNAP frame is a HP Teaming frame or * if it is really just SNAP */ if (memcmp(strPtr, HP_Mac, 17) == 0) { @@ -77,7 +77,7 @@ dissect_hpteam(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) col_append_fstr(pinfo->cinfo, COL_INFO, "Port MAC = %s ", strPtr); if (tree) { /* we are being asked for details */ - hpteam_item = proto_tree_add_item(tree, proto_hpteam, tvb, 0, -1, FALSE); + hpteam_item = proto_tree_add_item(tree, proto_hpteam, tvb, 0, -1, ENC_NA); hpteam_tree = proto_item_add_subtree(hpteam_item, ett_hpteam); proto_tree_add_item(hpteam_tree, hf_hpteam, tvb, offset, 58, ENC_NA); } @@ -107,7 +107,7 @@ void proto_register_hpteam(void) proto_hpteam = proto_register_protocol ("HP NIC Teaming Heartbeat", "HPTEAM", "hpteam"); - /*Tied into the LLC dissector so register the OUI with LLC*/ + /*Tied into the LLC dissector so register the OUI with LLC*/ llc_add_oui(OUI_HP_2, "llc.hpteam_pid", "Hewlett Packard OUI PID", &hf_pid); proto_register_field_array(proto_hpteam, hf_data, array_length(hf_data)); proto_register_subtree_array(ett, array_length(ett)); |