aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorsfd <stephen.donnelly@emulex.com>2014-12-22 14:29:41 +1300
committerGuy Harris <guy@alum.mit.edu>2014-12-22 02:31:15 +0000
commita5a25658ed45bc44314dbd497ffad5e8fb9a915c (patch)
tree0a77716b8f76005ea7f066339e9996181af5c9c6 /epan
parent8076f29fdb618e4c1e98bb3861d3f08457cefc1c (diff)
Removing ptp.v2.an.fcs as this erroneously refers to the Ethernet FCS which is properly handled by the Ethernet dissector.
Bug: 10611 Change-Id: I735085edf5c0d2a66c30c940c4b780a2ce8db6d4 Reviewed-on: https://code.wireshark.org/review/5964 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-ptp.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/epan/dissectors/packet-ptp.c b/epan/dissectors/packet-ptp.c
index cab14efb1a..de871ee1bd 100644
--- a/epan/dissectors/packet-ptp.c
+++ b/epan/dissectors/packet-ptp.c
@@ -717,7 +717,6 @@ static gint ett_ptp_time2 = -1;
#define PTP_V2_AN_GRANDMASTERCLOCKIDENTITY_OFFSET 53
#define PTP_V2_AN_LOCALSTEPSREMOVED_OFFSET 61
#define PTP_V2_AN_TIMESOURCE_OFFSET 63
-#define PTP_V2_AN_FCS_OFFSET 64
#define PTP_V2_AN_TLV_OFFSET 64 /* TLV only used if message length is > 64 bytes */
/* Announce TLV field offsets */
@@ -1313,7 +1312,6 @@ static int hf_ptp_v2_an_grandmasterclockaccuracy = -1;
static int hf_ptp_v2_an_grandmasterclockvariance = -1;
static int hf_ptp_v2_an_priority1 = -1;
static int hf_ptp_v2_an_priority2 = -1;
-static int hf_ptp_v2_an_fcs = -1;
/* Fields for PTP_Announce TLVs */
static int hf_ptp_v2_an_tlv_tlvtype = -1;
@@ -2746,13 +2744,6 @@ dissect_ptp_v2(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolean ptp
tlv_total_length += (tlv_length + PTP_V2_AN_TLV_DATA_OFFSET);
}
}
- else
- {
-
- proto_tree_add_item(ptp_tree, hf_ptp_v2_an_fcs, tvb,
- PTP_V2_AN_FCS_OFFSET, 4, ENC_BIG_ENDIAN);
-
- }
break;
}
@@ -4944,11 +4935,6 @@ proto_register_ptp(void)
FT_UINT8, BASE_DEC, NULL, 0x00,
NULL, HFILL }
},
- { &hf_ptp_v2_an_fcs,
- { "FCS", "ptp.v2.an.fcs",
- FT_UINT32, BASE_HEX, NULL, 0x00,
- NULL, HFILL }
- },
/* Fields for PTP_Announce TLVs */
{ &hf_ptp_v2_an_tlv_tlvtype,