diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-01-22 19:53:53 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-01-23 03:54:26 +0000 |
commit | 21ac67cf3dc89f7626f565419507a08608bc444f (patch) | |
tree | 4fc232d1e0fd0345fe70e77a02dcfaf8f6d2199f /asn1/camel/packet-camel-template.c | |
parent | 9141bd97001e4a728c88b2bc7507a2f8bd91cc90 (diff) | |
download | wireshark-21ac67cf3dc89f7626f565419507a08608bc444f.tar.gz |
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 <guy@alum.mit.edu>
Diffstat (limited to 'asn1/camel/packet-camel-template.c')
-rw-r--r-- | asn1/camel/packet-camel-template.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |