pcap-file: Allow capturing TCP streams where the SYN is not seen.
authorBen Pfaff <blp@nicira.com>
Tue, 4 Feb 2014 17:01:16 +0000 (09:01 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 11 Feb 2014 15:55:38 +0000 (07:55 -0800)
commit276e2864c517a13f9a3ba33086b091743096d30c
treea76b973c2f37461ad82458d9db5bcb3ced655044
parent94b8c324a11de4e4ab7647e8ad87fd01a8163f6d
pcap-file: Allow capturing TCP streams where the SYN is not seen.

Until now, the tcp_stream() code has ignored any TCP packets that don't
correspond to a stream that began with a TCP SYN.  This commit changes the
code so that any TCP packet that contains a payload starts a new stream.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Reported-by: Vasu Dasari <vdasari@gmail.com>
AUTHORS
lib/pcap-file.c