aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-01-22 19:57:32 -0800
committerGuy Harris <guy@alum.mit.edu>2016-01-23 03:58:56 +0000
commita7f470fa2476459c2013f0ee3ffe09f94fb036c2 (patch)
tree20bbd7547754a425f0dbee2dd29b94aae8218f11 /epan
parent21ac67cf3dc89f7626f565419507a08608bc444f (diff)
More pinfo->fd->abs_ts to pinfo->abs_ts.
Change-Id: I70db0a345cc4c5c57c454371deb4f92f9ac4b9ac Reviewed-on: https://code.wireshark.org/review/13501 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan')
-rw-r--r--epan/gcp.c2
-rw-r--r--epan/srt_table.c2
-rw-r--r--epan/wslua/wslua_pinfo.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/epan/gcp.c b/epan/gcp.c
index f10b33d11d..a0ad66333b 100644
--- a/epan/gcp.c
+++ b/epan/gcp.c
@@ -108,7 +108,7 @@ gcp_msg_t* gcp_msg(packet_info* pinfo, int o, gboolean keep_persistent_data) {
} else {
m = wmem_new(wmem_file_scope(), gcp_msg_t);
m->framenum = framenum;
- m->time = pinfo->fd->abs_ts;
+ m->time = pinfo->abs_ts;
m->trxs = NULL;
m->committed = FALSE;
diff --git a/epan/srt_table.c b/epan/srt_table.c
index a0cafa6872..a01388d24b 100644
--- a/epan/srt_table.c
+++ b/epan/srt_table.c
@@ -298,7 +298,7 @@ add_srt_table_data(srt_stat_table *rst, int indx, const nstime_t *req_time, pack
rp=&rst->procedures[indx];
/* calculate time delta between request and reply */
- t=pinfo->fd->abs_ts;
+ t=pinfo->abs_ts;
nstime_delta(&delta, &t, req_time);
time_stat_update(&rp->stats, &delta, pinfo);
diff --git a/epan/wslua/wslua_pinfo.c b/epan/wslua/wslua_pinfo.c
index be095e679c..3a9e94cf05 100644
--- a/epan/wslua/wslua_pinfo.c
+++ b/epan/wslua/wslua_pinfo.c
@@ -227,7 +227,7 @@ PINFO_NAMED_NUMBER_GETTER(len,fd->pkt_len);
PINFO_NAMED_NUMBER_GETTER(caplen,fd->cap_len);
/* WSLUA_ATTRIBUTE Pinfo_abs_ts RO When the packet was captured. */
-WSLUA_ATTRIBUTE_BLOCK_NUMBER_GETTER(Pinfo,abs_ts,lua_nstime_to_sec(&obj->ws_pinfo->fd->abs_ts));
+WSLUA_ATTRIBUTE_BLOCK_NUMBER_GETTER(Pinfo,abs_ts,lua_nstime_to_sec(&obj->ws_pinfo->abs_ts));
/* WSLUA_ATTRIBUTE Pinfo_rel_ts RO Number of seconds passed since beginning of capture. */
WSLUA_ATTRIBUTE_BLOCK_NUMBER_GETTER(Pinfo,rel_ts,lua_nstime_to_sec(&obj->ws_pinfo->rel_ts));