diff options
author | Michael Mann <mmann78@netscape.net> | 2016-10-02 19:21:05 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-10-03 00:14:41 +0000 |
commit | 57268e3c5b8baeb6228c9588f434577d85b5c451 (patch) | |
tree | c9c106cda0aa057bae8e3966ac56310d6b6496e9 /ui/cli | |
parent | 470086f059246b7f4a204def34cea130e5a3af61 (diff) | |
download | wireshark-57268e3c5b8baeb6228c9588f434577d85b5c451.tar.gz |
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 <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui/cli')
-rw-r--r-- | ui/cli/tap-follow.c | 2 |
1 files changed, 1 insertions, 1 deletions
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++) { |