aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-epl.c
diff options
context:
space:
mode:
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2008-08-05 13:59:27 +0000
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2008-08-05 13:59:27 +0000
commitaafee366b712885e8908f629f97138c8320f368b (patch)
tree66b79f06701ffedc11899ffb61eb077b3681a670 /epan/dissectors/packet-epl.c
parent01dbb80b4df1417a16bdfc75d00b2b61ebc0c4ba (diff)
From Daniel Krueger:
The attached patch fixes a bug in the dissection of the StatusResponse, where device-specific error code is only 6 Bytes long instead of 8 Bytes. Additionally, I changed the spelling (i.e. the case) of "Ethernet POWERLINK" to the new preferred one of the EPSG. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25929 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-epl.c')
-rw-r--r--epan/dissectors/packet-epl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-epl.c b/epan/dissectors/packet-epl.c
index 68aedc85f4..b9cf9d34a7 100644
--- a/epan/dissectors/packet-epl.c
+++ b/epan/dissectors/packet-epl.c
@@ -1,6 +1,6 @@
/* packet-epl.c
- * Routines for "Ethernet Powerlink 2.0" dissection
- * (ETHERNET Powerlink V2.0 Communication Profile Specification Draft Standard Version 1.0.0)
+ * Routines for "Ethernet POWERLINK 2.0" dissection
+ * (Ethernet POWERLINK V2.0 Communication Profile Specification Draft Standard Version 1.0.0)
*
* Copyright (c) 2006: Zurich University of Applied Sciences Winterthur (ZHW)
* Institute of Embedded Systems (InES)
@@ -970,8 +970,8 @@ dissect_epl_asnd_sres(proto_tree *epl_tree, tvbuff_t *tvb, packet_info *pinfo, g
proto_tree_add_item(epl_seb_tree, hf_epl_asnd_statusresponse_seb_err_errorregister_u8_bit7, tvb, offset, 1, TRUE);
offset += 2;
- proto_tree_add_item(epl_seb_tree, hf_epl_asnd_statusresponse_seb_devicespecific_err, tvb,offset, 8, TRUE);
- offset += 8;
+ proto_tree_add_item(epl_seb_tree, hf_epl_asnd_statusresponse_seb_devicespecific_err, tvb,offset, 6, TRUE);
+ offset += 6;
/* List of errors / events */
/* get the number of entries in the error code list*/
@@ -1501,7 +1501,7 @@ static hf_register_info hf[] = {
module_t *epl_module;
/* Register the protocol name and description */
- proto_epl = proto_register_protocol("ETHERNET Powerlink v2", "EPL", "epl");
+ proto_epl = proto_register_protocol("Ethernet POWERLINK V2", "EPL", "epl");
/* Required function calls to register the header fields and subtrees used */
proto_register_field_array(proto_epl, hf, array_length(hf));