aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rtitcp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-01-22 19:50:21 -0800
committerGuy Harris <guy@alum.mit.edu>2016-01-23 03:50:58 +0000
commit9141bd97001e4a728c88b2bc7507a2f8bd91cc90 (patch)
treef589699cd32e897619dc250c9ec2c891c02f12d0 /epan/dissectors/packet-rtitcp.c
parent2fb43f3761f3bc813d85f3771b78a81007283871 (diff)
Add more fields to packet_info structure and use them.
Add fields for the absolute time stamp (and another field for a presence flag for the absolute time stamp) and the packet encapsulation for the packet. This lets us remove the field for the packet encapsulation in the frame_data structure; do so. Change-Id: Ifb910a9a192414e2a53086f3f7b97f39ed36aa39 Reviewed-on: https://code.wireshark.org/review/13499 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-rtitcp.c')
-rwxr-xr-xepan/dissectors/packet-rtitcp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-rtitcp.c b/epan/dissectors/packet-rtitcp.c
index 28b7b8367a..5233a95b40 100755
--- a/epan/dissectors/packet-rtitcp.c
+++ b/epan/dissectors/packet-rtitcp.c
@@ -549,7 +549,7 @@ static guint16 dissect_control_message(proto_tree *rtitcp_tree, tvbuff_t *tvb, p
rtitcp_trans=wmem_new(wmem_file_scope(), rtitcp_transaction_t);
rtitcp_trans->req_frame = pinfo->fd->num;
rtitcp_trans->rep_frame = 0;
- rtitcp_trans->req_time = pinfo->fd->abs_ts;
+ rtitcp_trans->req_time = pinfo->abs_ts;
conversation_info_key = (guint64*)wmem_alloc0(wmem_file_scope(), sizeof(guint64));
*conversation_info_key = seq_num;
wmem_map_insert(rtitcp_info->pdus, conversation_info_key, (void *)rtitcp_trans);
@@ -569,7 +569,7 @@ static guint16 dissect_control_message(proto_tree *rtitcp_tree, tvbuff_t *tvb, p
rtitcp_trans=wmem_new(wmem_packet_scope(), rtitcp_transaction_t);
rtitcp_trans->req_frame = 0;
rtitcp_trans->rep_frame = 0;
- rtitcp_trans->req_time = pinfo->fd->abs_ts;
+ rtitcp_trans->req_time = pinfo->abs_ts;
}
/* print state tracking in the tree */
@@ -590,7 +590,7 @@ static guint16 dissect_control_message(proto_tree *rtitcp_tree, tvbuff_t *tvb, p
tvb, 0, 0, rtitcp_trans->req_frame);
PROTO_ITEM_SET_GENERATED(it);
- nstime_delta(&ns, &pinfo->fd->abs_ts, &rtitcp_trans->req_time);
+ nstime_delta(&ns, &pinfo->abs_ts, &rtitcp_trans->req_time);
it = proto_tree_add_time(rtitcp_message, hf_rtitcp_response_time, tvb, 0, 0, &ns);
PROTO_ITEM_SET_GENERATED(it);
}