summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2015-11-24 18:44:22 +0100
committerPascal Quantin <pascal.quantin@gmail.com>2015-11-24 18:15:03 +0000
commit7f90e4eaf36e15a1b29ad399ac4e6b81508511a0 (patch)
treedbefb71af4c5c9a08ecc83e8b5115ae602656b12
parent4245d2b7c38641b8f5810915e53cf205a262aee4 (diff)
downloadwireshark-7f90e4eaf36e15a1b29ad399ac4e6b81508511a0.tar.gz
VoIP: fix a crash when trying to retrieve the time of a T.38 tapped packet
Rather than trying to retrieve frame_data from the packet number row (while it could be filtered) let's use pinfo Bug: 11596 Change-Id: Iadbae7630da012c72b29628384a0825511672692 Reviewed-on: https://code.wireshark.org/review/12106 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
-rw-r--r--ui/gtk/voip_calls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/voip_calls.c b/ui/gtk/voip_calls.c
index 4df1ea13b5..519b93e1d6 100644
--- a/ui/gtk/voip_calls.c
+++ b/ui/gtk/voip_calls.c
@@ -366,7 +366,7 @@ static void insert_to_graph_t38(voip_calls_tapinfo_t *tapinfo _U_, packet_info *
gchar time_str[COL_MAX_LEN];
new_gai = (seq_analysis_item_t *)g_malloc(sizeof(seq_analysis_item_t));
- new_gai->fd = packet_list_get_row_data(frame_num);
+ new_gai->fd = pinfo->fd;
COPY_ADDRESS(&(new_gai->src_addr),src_addr);
COPY_ADDRESS(&(new_gai->dst_addr),dst_addr);