Bring back packet_num in "Follow Stream"

The packet_num was left uninitialized after refactoring "Follow Stream".

Ping-Bug: 11988
Change-Id: Iaea2560c8417503de59ddb0337cd023bcbcbbfee
Reviewed-on: https://code.wireshark.org/review/13872
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
This commit is contained in:
Stig Bjørlykke 2016-02-10 11:04:37 +01:00
parent e2bb302a79
commit 8498c39ed6
1 changed files with 1 additions and 0 deletions

View File

@ -178,6 +178,7 @@ follow_tvb_tap_listener(void *tapdata, packet_info *pinfo,
follow_record->data = g_byte_array_append(follow_record->data,
tvb_get_ptr(next_tvb, 0, -1),
tvb_captured_length(next_tvb));
follow_record->packet_num = pinfo->fd->num;
if (follow_info->client_port == 0) {
follow_info->client_port = pinfo->srcport;