Allow tshark to read a pcap file and either save it as a new pcap file or for packets...
authorcmaynard <cmaynard@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 5 Jun 2013 03:07:57 +0000 (03:07 +0000)
committercmaynard <cmaynard@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 5 Jun 2013 03:07:57 +0000 (03:07 +0000)
commitce739139fccfdd8ce99da74ed548b10df134bd41
tree807569d53e509d45fedb846538b0b78d939e5dbb
parente53e3f1b17fe25e7dbb43515c4f95ab5dd287351
Allow tshark to read a pcap file and either save it as a new pcap file or for packets to be read from the original pcap file, possibly filtered, then sent to stdout and piped to either tshark or wireshark, which can then read those filtered packets from stdin.  Patch submitted by me in bug 2868, although it doesn't actually fix that bug.
#BACKPORT(1.10)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@49780 f5534014-38df-0310-8fa8-9805f1628bb7
tshark.c