diff options
author | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2021-07-11 13:19:10 +0100 |
---|---|---|
committer | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2021-07-11 14:55:55 +0000 |
commit | 030d659f884f09d02deaeba9832f6f62b4c7c334 (patch) | |
tree | aaa02949d5f3b2261591b8da08f7f27e74fbb46d /plugins/epan/ethercat | |
parent | 89acb935bcc0c4efdf13b22b49d0b0e4da5b31f3 (diff) |
More mask checks and some fixes.
Diffstat (limited to 'plugins/epan/ethercat')
-rw-r--r-- | plugins/epan/ethercat/packet-ecatmb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/epan/ethercat/packet-ecatmb.c b/plugins/epan/ethercat/packet-ecatmb.c index 696a681db0..d3e2fde551 100644 --- a/plugins/epan/ethercat/packet-ecatmb.c +++ b/plugins/epan/ethercat/packet-ecatmb.c @@ -1855,11 +1855,11 @@ void proto_register_ecat_mailbox(void) }, { &hf_ecat_mailbox_soe_header_opcode, { "SoE OpCode", "ecat_mailbox.soe_opcode", - FT_UINT16, BASE_DEC, VALS(SoeOpcode), 0x00000007, NULL, HFILL } + FT_UINT16, BASE_DEC, VALS(SoeOpcode), 0x0007, NULL, HFILL } }, { &hf_ecat_mailbox_soe_header_incomplete, { "More Follows...", "ecat_mailbox.soe_header_incomplete", - FT_BOOLEAN, 16, TFS(&flags_set_truth), 0x00000008, NULL, HFILL } + FT_BOOLEAN, 16, TFS(&flags_set_truth), 0x0008, NULL, HFILL } }, { &hf_ecat_mailbox_soe_header_error, { "Error", "ecat_mailbox.soe_header_error", @@ -1868,7 +1868,7 @@ void proto_register_ecat_mailbox(void) }, { &hf_ecat_mailbox_soe_header_driveno, { "Drive No", "ecat_mailbox.soe_header_driveno", - FT_UINT16, BASE_DEC, NULL, 0x000000e0, NULL, HFILL } + FT_UINT16, BASE_DEC, NULL, 0x00e0, NULL, HFILL } }, { &hf_ecat_mailbox_soe_header_datastate, { "Datastate", "ecat_mailbox.soe_header_datastate", |