aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMichalis Kapsalakis <kapsalis1989@gmail.com>2017-12-22 23:06:09 +0100
committerMichael Mann <mmann78@netscape.net>2017-12-23 03:43:50 +0000
commit7c149491452e605bdd1df225abf11de7b5e61ccf (patch)
tree292691d2dbb2b6d348da0a7c66b9dbcb610b2a94 /plugins
parent14009cefe89df8e50224c44887482842668b9dab (diff)
EtherCAT: Fix unreached register
This commit fixes the order of register 0x0012 in ecat_esc_registers array after the changes in 24949 Change-Id: If63921a5e3eb845e470b608161946f0477ff6e21 Reviewed-on: https://code.wireshark.org/review/24953 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ethercat/packet-ethercat-datagram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ethercat/packet-ethercat-datagram.c b/plugins/ethercat/packet-ethercat-datagram.c
index 4e14c55f70..e7f48ba645 100644
--- a/plugins/ethercat/packet-ethercat-datagram.c
+++ b/plugins/ethercat/packet-ethercat-datagram.c
@@ -1104,11 +1104,11 @@ static ecat_esc_reg_info ecat_esc_registers [] =
{ 0x0007, 1, 1, &hf_ecat_reg_esc_dpram, NO_SUBTREE_FILL},
{ 0x0008, 2, 1, &hf_ecat_reg_esc_features, ecat_esc_reg_8, &ett_ecat_reg_esc_features, NULL},
{ 0x0010, 2, 1, &hf_ecat_reg_physaddr, NO_SUBTREE_FILL},
+ { 0x0012, 2, 1, &hf_ecat_reg_physaddr2, NO_SUBTREE_FILL},
{ 0x0020, 2, 1, &hf_ecat_reg_regprotect, NO_SUBTREE_FILL},
{ 0x0030, 2, 1, &hf_ecat_reg_accessprotect, NO_SUBTREE_FILL},
{ 0x0040, 1, 1, &hf_ecat_reg_resetecat, NO_SUBTREE_FILL},
{ 0x0041, 1, 1, &hf_ecat_reg_resetpdi, NO_SUBTREE_FILL},
- { 0x0012, 2, 1, &hf_ecat_reg_physaddr2, NO_SUBTREE_FILL},
{ 0x0100, 1, 1, &hf_ecat_reg_dlctrl1, ecat_esc_reg_100, &ett_ecat_reg_dlctrl1, NULL},
{ 0x0101, 1, 1, &hf_ecat_reg_dlctrl2, ecat_esc_reg_101, &ett_ecat_reg_dlctrl2, NULL},
{ 0x0102, 1, 1, &hf_ecat_reg_dlctrl3, ecat_esc_reg_102, &ett_ecat_reg_dlctrl3, NULL},