diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-09-17 14:51:08 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-09-17 14:51:08 +0000 |
commit | d41c249f91a498c60d1dd2bf0ab3a78addc2c615 (patch) | |
tree | 82beef83e786020da3ede6f2645b9bbba9d85bda /ui/gtk/voip_calls.c | |
parent | 8e74cd8d16cf214d26ee637a2eba9a8d3a0e7a1f (diff) |
callsinfo->stop_fd not set in all branches for UNISTIM.
svn path=/trunk/; revision=44940
Diffstat (limited to 'ui/gtk/voip_calls.c')
-rw-r--r-- | ui/gtk/voip_calls.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/ui/gtk/voip_calls.c b/ui/gtk/voip_calls.c index 6e8301fefa..969c615513 100644 --- a/ui/gtk/voip_calls.c +++ b/ui/gtk/voip_calls.c @@ -3413,6 +3413,9 @@ unistim_calls_packet(void *ptr _U_, packet_info *pinfo, epan_dissect_t *edt _U_, /* Signifies the start of the call so set start_sec & start_usec */ /* Frame data holds the time info */ callsinfo->start_fd=pinfo->fd; + /* Each packet COULD BE OUR LAST!!!! */ + /* Store frame data which holds time and frame number */ + callsinfo->stop_fd = pinfo->fd; /* Local packets too */ ++(callsinfo->npackets); @@ -3488,11 +3491,10 @@ unistim_calls_packet(void *ptr _U_, packet_info *pinfo, epan_dissect_t *edt _U_, callsinfo->call_num = tapinfo->ncalls++; tapinfo->callsinfo_list = g_list_prepend(tapinfo->callsinfo_list, callsinfo); - /* Open stream */ - /* Signifies the start of the call so set start_sec & start_usec */ - /* frame_data holds the time info */ - callsinfo->start_fd=pinfo->fd; - + /* Open stream */ + /* Each packet COULD BE OUR LAST!!!! */ + /* Store frame data which holds time and frame number */ + callsinfo->stop_fd = pinfo->fd; /* Local packets too */ ++(callsinfo->npackets); |