h248: rename shadow variable.

Change-Id: I98545776127a0cc3b5d9c44bb625a217672b4443
Reviewed-on: https://code.wireshark.org/review/16099
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Dario Lombardo 2016-06-23 17:15:34 +02:00 committed by Anders Broman
parent b47aca5fd1
commit 581d44f4ad
5 changed files with 5 additions and 5 deletions

View File

@ -172,7 +172,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->abs_ts;
m->frametime = pinfo->abs_ts;
m->trxs = NULL;
m->committed = FALSE;

View File

@ -95,7 +95,7 @@ typedef struct _gcp_msg_t {
guint32 lo_addr;
guint32 hi_addr;
guint32 framenum;
nstime_t time;
nstime_t frametime;
struct _gcp_trx_msg_t* trxs;
gboolean committed;
} gcp_msg_t;

View File

@ -647,7 +647,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->abs_ts;
m->frametime = pinfo->abs_ts;
m->trxs = NULL;
m->committed = FALSE;

View File

@ -103,7 +103,7 @@ typedef struct _gcp_msg_t {
guint32 lo_addr;
guint32 hi_addr;
guint32 framenum;
nstime_t time;
nstime_t frametime;
struct _gcp_trx_msg_t* trxs;
gboolean committed;
} gcp_msg_t;

View File

@ -368,7 +368,7 @@ megacostat_packet(void *pms, packet_info *pinfo, epan_dissect_t *edt _U_, const
else {
ms->time_stats[0].open_req_num--;
/* calculate time delta between request and response */
nstime_delta(&delta, &pinfo->abs_ts, &mi->trx->initial->time);
nstime_delta(&delta, &pinfo->abs_ts, &mi->trx->initial->frametime);
switch(mi->type) {