Don't print the packet counter when capturing if we're also printing
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 9 Aug 2013 00:24:31 +0000 (00:24 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 9 Aug 2013 00:24:31 +0000 (00:24 +0000)
commitdb16993d8524bbb06b69b41f5a909807535b81f4
tree14a27a1d92f3f17e2d73eeb09f2d4cb195405182
parent41460a2d0857fd982b24af9fe4df17ec9eb49fef
Don't print the packet counter when capturing if we're also printing
packet information to a terminal (which we assume is the same terminal
as the one to which the packet counts are being printed), as they get in
the way of each other.

Don't print it if we're sending the standard error to a terminal, or if
-q is specified, either.

Put all the setting of print_packet_counts together; it looks as if the
default value of print_packet_counts may have been changed to TRUE and
the code to handle -q wasn't changed to set it to FALSE if -q was
specified rather than setting it to TRUE if it wasn't specified.

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