diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-01-22 19:50:21 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-01-23 03:50:58 +0000 |
commit | 9141bd97001e4a728c88b2bc7507a2f8bd91cc90 (patch) | |
tree | f589699cd32e897619dc250c9ec2c891c02f12d0 /epan/dissectors/packet-ldss.c | |
parent | 2fb43f3761f3bc813d85f3771b78a81007283871 (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-ldss.c')
-rw-r--r-- | epan/dissectors/packet-ldss.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ldss.c b/epan/dissectors/packet-ldss.c index 40996bda00..916d4c1e6d 100644 --- a/epan/dissectors/packet-ldss.c +++ b/epan/dissectors/packet-ldss.c @@ -409,7 +409,7 @@ dissect_ldss_broadcast(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* Populate data from the broadcast */ data = wmem_new0(wmem_file_scope(), ldss_broadcast_t); data->num = pinfo->fd->num; - data->ts = pinfo->fd->abs_ts; + data->ts = pinfo->abs_ts; data->message_id = messageID; data->message_detail = messageDetail; data->port = port; @@ -628,7 +628,7 @@ dissect_ldss_transfer (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void } transfer_info->req->num = pinfo->fd->num; - transfer_info->req->ts = pinfo->fd->abs_ts; + transfer_info->req->ts = pinfo->abs_ts; } /* Remaining packets are the file response */ else { @@ -668,7 +668,7 @@ dissect_ldss_transfer (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void /* OK. Now we have the whole file that was transferred. */ transfer_info->resp_num = pinfo->fd->num; - transfer_info->resp_ts = pinfo->fd->abs_ts; + transfer_info->resp_ts = pinfo->abs_ts; col_add_fstr(pinfo->cinfo, COL_INFO, "LDSS File Transfer (Sending file - %s)", transfer_info->broadcast->message_id == MESSAGE_ID_WILLSEND |