From 57268e3c5b8baeb6228c9588f434577d85b5c451 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Sun, 2 Oct 2016 19:21:05 -0400 Subject: tshark: follow streams should start with chunk 1. Chunk 0 is not allowed, so it's discarded when outputting a stream. Ping-Bug: 12855 Change-Id: Ia7bbb0e222b6b4e714f8bfa245e910c151d82905 Reviewed-on: https://code.wireshark.org/review/18034 Petri-Dish: Michael Mann Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- ui/cli/tap-follow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/cli/tap-follow.c b/ui/cli/tap-follow.c index 8717b19d73..f3e3a4e245 100644 --- a/ui/cli/tap-follow.c +++ b/ui/cli/tap-follow.c @@ -195,7 +195,7 @@ static void follow_draw(void *contextp) else printf("Node 1: %s:%u\n", buf, follow_info->server_port); - for (cur = follow_info->payload, chunk = 0; + for (cur = follow_info->payload, chunk = 1; cur != NULL; cur = g_list_next(cur), chunk++) { -- cgit v1.2.1