Pass the number of packets to be captured to "capture()" as an argument,
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 15 Jan 2000 10:23:10 +0000 (10:23 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 15 Jan 2000 10:23:10 +0000 (10:23 +0000)
commit1c9e31499d3f8c2f29a50b4b2d1a0e3ab118339b
tree65d5253fe293e95d6d17275941399cd325e1b9dd
parent78055c2c91d7e68549364b2be66e6ad6e5e610dc
Pass the number of packets to be captured to "capture()" as an argument,
rather than making it static.

Don't print the "Capturing on <interface>" message until you actually
start capturing, and print it regardless of whether the interface was
explicitly specified or not (that's what snoop and tcpdump do).

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