From 21ac67cf3dc89f7626f565419507a08608bc444f Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 22 Jan 2016 19:53:53 -0800 Subject: Fix template files to refer directly to pinfo->abs_ts. Change-Id: I10ac1ee42ba17d3faf3d76f9d4d7fe8cba8043bc Reviewed-on: https://code.wireshark.org/review/13500 Reviewed-by: Guy Harris --- asn1/camel/packet-camel-template.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'asn1/camel/packet-camel-template.c') diff --git a/asn1/camel/packet-camel-template.c b/asn1/camel/packet-camel-template.c index 18409bc836..5ee1b45e13 100644 --- a/asn1/camel/packet-camel-template.c +++ b/asn1/camel/packet-camel-template.c @@ -526,7 +526,7 @@ update_camelsrt_call(struct camelsrt_call_t *p_camelsrt_call, packet_info *pinfo p_camelsrt_call->category[msg_category].req_num = pinfo->fd->num; p_camelsrt_call->category[msg_category].rsp_num = 0; p_camelsrt_call->category[msg_category].responded = FALSE; - p_camelsrt_call->category[msg_category].req_time = pinfo->fd->abs_ts; + p_camelsrt_call->category[msg_category].req_time = pinfo->abs_ts; } /* @@ -557,7 +557,7 @@ camelsrt_close_call_matching(packet_info *pinfo, dbg(12,"Found "); #endif /* Calculate Service Response Time */ - nstime_delta(&delta, &pinfo->fd->abs_ts, &p_camelsrt_call->category[CAMELSRT_SESSION].req_time); + nstime_delta(&delta, &pinfo->abs_ts, &p_camelsrt_call->category[CAMELSRT_SESSION].req_time); p_camelsrt_call->category[CAMELSRT_SESSION].responded = TRUE; p_camelsrt_info->msginfo[CAMELSRT_SESSION].request_available = TRUE; p_camelsrt_info->msginfo[CAMELSRT_SESSION].is_delta_time = TRUE; @@ -916,7 +916,7 @@ camelsrt_report_call_matching(tvbuff_t *tvb, packet_info *pinfo, PROTO_ITEM_SET_GENERATED(ti); } /* Calculate Service Response Time */ - nstime_delta(&delta, &pinfo->fd->abs_ts, &p_camelsrt_call->category[srt_type].req_time); + nstime_delta(&delta, &pinfo->abs_ts, &p_camelsrt_call->category[srt_type].req_time); p_camelsrt_info->msginfo[srt_type].is_delta_time = TRUE; p_camelsrt_info->msginfo[srt_type].delta_time = delta; /* give it to tap */ -- cgit v1.2.1