diff options
author | Dario Lombardo <lomato@gmail.com> | 2017-12-25 23:24:22 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-12-26 09:27:18 +0000 |
commit | 62f06b71962063736bfa359074802e3a51271308 (patch) | |
tree | 40c9ef89139c3e90c3e7cf2fd6c407a2bcc45baf /epan/dissectors/packet-epl.c | |
parent | b8ea5eb69df28601affec012dd3ae93799e6293b (diff) |
epl: remove dead code and corresponding ei.
Due to mask EPL_ASND_SDO_SEQ_CON_MASK, scon and rcon can't be > 3.
Change-Id: Iaa2e8bae657ad57e4548a3f4749feda19ffaaf52
CID: 1220185.
CID: 1220186.
Reviewed-on: https://code.wireshark.org/review/24995
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-epl.c')
-rw-r--r-- | epan/dissectors/packet-epl.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/epan/dissectors/packet-epl.c b/epan/dissectors/packet-epl.c index 96f1361a53..cbb129635f 100644 --- a/epan/dissectors/packet-epl.c +++ b/epan/dissectors/packet-epl.c @@ -1778,8 +1778,6 @@ static gint ett_epl_pdo_meta = -1; static expert_field ei_duplicated_frame = EI_INIT; static expert_field ei_recvseq_value = EI_INIT; static expert_field ei_sendseq_value = EI_INIT; -static expert_field ei_recvcon_value = EI_INIT; -static expert_field ei_sendcon_value = EI_INIT; static expert_field ei_real_length_differs = EI_INIT; static dissector_handle_t epl_handle; @@ -3635,14 +3633,6 @@ dissect_epl_sdo_sequence(proto_tree *epl_tree, tvbuff_t *tvb, packet_info *pinfo { expert_add_info(pinfo, epl_tree, &ei_sendseq_value); } - if(rcon > EPL_RETRANSMISSION) - { - expert_add_info(pinfo, epl_tree, &ei_recvcon_value); - } - if(scon > EPL_RETRANSMISSION) - { - expert_add_info(pinfo, epl_tree, &ei_sendcon_value); - } duplication = 0x00; epl_set_sequence_nr(pinfo, 0x00); } @@ -6144,14 +6134,6 @@ proto_register_epl(void) { "epl.error.value.send.sequence", PI_PROTOCOL, PI_ERROR, "Invalid Value for SendSequenceNumber", EXPFILL } }, - { &ei_recvcon_value, - { "epl.error.receive.connection", PI_PROTOCOL, PI_ERROR, - "Invalid Value for ReceiveCon", EXPFILL } - }, - { &ei_sendcon_value, - { "epl.error.send.connection", PI_PROTOCOL, PI_ERROR, - "Invalid Value for SendCon", EXPFILL } - }, { &ei_real_length_differs, { "epl.error.payload.length.differs", PI_PROTOCOL, PI_ERROR, "Captured length differs from header information", EXPFILL } |