]> The Tcpdump Group git mirrors - tcpdump/commit
Stop reading multiple files properly on cleanup.
authorWesley Shields <[email protected]>
Thu, 28 Mar 2013 02:28:11 +0000 (22:28 -0400)
committerGuy Harris <[email protected]>
Fri, 29 Mar 2013 10:28:48 +0000 (03:28 -0700)
commitb33cc013eedfa524c40340c3bc0eba2f9459b8ac
treee4d7a89590a949a728fe540605c90811ad84e1e7
parent800b5192f49a1bd305d5f3b70b7036d41c07ef04
Stop reading multiple files properly on cleanup.

Prior to this if pcap_breakloop() is called in cleanup() while reading
multiple files (via -V) the code would fall through and open the next
file in the list. With this change the list is cut short and the program
exits normally.
tcpdump.c