CFM: display MEP ID in decimal in OAM Y.1731 Synthetic Loss Message and Reply PDU
Bug: 10500 Change-Id: I70dab8fb86965fedbe8739e265db81fe310518cf Reviewed-on: https://code.wireshark.org/review/4289 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
ea6fa049c9
commit
a26b751819
|
@ -1161,9 +1161,9 @@ static int dissect_cfm_slm(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
|
|||
proto_tree_add_item(cfm_pdu_tree, hf_cfm_first_tlv_offset, tvb, offset, 1, ENC_BIG_ENDIAN);
|
||||
offset += 1;
|
||||
|
||||
proto_tree_add_item(cfm_pdu_tree, hf_cfm_slm_src_mep, tvb, offset, 2, ENC_NA);
|
||||
proto_tree_add_item(cfm_pdu_tree, hf_cfm_slm_src_mep, tvb, offset, 2, ENC_BIG_ENDIAN);
|
||||
offset += 2;
|
||||
proto_tree_add_item(cfm_pdu_tree, hf_cfm_slr_rsp_mep, tvb, offset, 2, ENC_NA);
|
||||
proto_tree_add_item(cfm_pdu_tree, hf_cfm_slr_rsp_mep, tvb, offset, 2, ENC_BIG_ENDIAN);
|
||||
offset += 2;
|
||||
proto_tree_add_item(cfm_pdu_tree, hf_cfm_slm_testid, tvb, offset, 4, ENC_NA);
|
||||
offset += 4;
|
||||
|
@ -1193,9 +1193,9 @@ static int dissect_cfm_slr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr
|
|||
proto_tree_add_item(cfm_pdu_tree, hf_cfm_first_tlv_offset, tvb, offset, 1, ENC_BIG_ENDIAN);
|
||||
offset += 1;
|
||||
|
||||
proto_tree_add_item(cfm_pdu_tree, hf_cfm_slm_src_mep, tvb, offset, 2, ENC_NA);
|
||||
proto_tree_add_item(cfm_pdu_tree, hf_cfm_slm_src_mep, tvb, offset, 2, ENC_BIG_ENDIAN);
|
||||
offset += 2;
|
||||
proto_tree_add_item(cfm_pdu_tree, hf_cfm_slr_rsp_mep, tvb, offset, 2, ENC_NA);
|
||||
proto_tree_add_item(cfm_pdu_tree, hf_cfm_slr_rsp_mep, tvb, offset, 2, ENC_BIG_ENDIAN);
|
||||
offset += 2;
|
||||
proto_tree_add_item(cfm_pdu_tree, hf_cfm_slm_testid, tvb, offset, 4, ENC_NA);
|
||||
offset += 4;
|
||||
|
@ -1961,12 +1961,12 @@ void proto_register_cfm(void)
|
|||
BASE_NONE, NULL, 0x0, NULL, HFILL }
|
||||
},
|
||||
{ &hf_cfm_slm_src_mep,
|
||||
{ "SrcMepID", "cfm.slm.src_mep_id", FT_BYTES,
|
||||
BASE_NONE, NULL, 0x0, NULL, HFILL }
|
||||
{ "Source MEP ID", "cfm.slm.src_mep_id", FT_UINT16,
|
||||
BASE_DEC, NULL, 0x1FFF, NULL, HFILL }
|
||||
},
|
||||
{ &hf_cfm_slr_rsp_mep,
|
||||
{ "RspMepID", "cfm.slr.rsp_mep_id", FT_BYTES,
|
||||
BASE_NONE, NULL, 0x0, NULL, HFILL }
|
||||
{ "Responder MEP ID", "cfm.slr.rsp_mep_id", FT_UINT16,
|
||||
BASE_DEC, NULL, 0x1FFF, NULL, HFILL }
|
||||
},
|
||||
{ &hf_cfm_slm_testid,
|
||||
{ "TestID", "cfm.slm.test_id", FT_BYTES,
|
||||
|
|
Loading…
Reference in New Issue