Report failures of "pcap_stats()", as tcpdump does.
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 11 Feb 2001 21:29:03 +0000 (21:29 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 11 Feb 2001 21:29:03 +0000 (21:29 +0000)
commit11edc2e64f190f6900d8e9b3dbee17b3daf4c90a
treed2a62cd4043089c5fea8685e8594c31b7dab9e71
parent9d4825808397824916f033a7ab9838623a90327c
Report failures of "pcap_stats()", as tcpdump does.

Print the "Capturing on <interface>" message, the running count of
packets captured, and error messages to the standard error in Tethereal,
so that you can pipe the output of a live capture that's printing
packets to a program or script without that script having to worry about
parsing stuff other than dissected packet summaries or details (tcpdump
does the same).

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