Re: [tcpdump-workers] [PATCH] When saving with -U, flush the dump file after opening it

2010-06-05 Thread Romain Francoise
Guy Harris writes: > Checked into the main and 4.1 branches and pushed. Thanks, -- Romain Francoise http://people.debian.org/~rfrancoise/ - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.

Re: [tcpdump-workers] [PATCH] When saving with -U, flush the dump file after opening it

2010-06-05 Thread Guy Harris
On Apr 9, 2010, at 12:24 PM, Romain Francoise wrote: > Reading from a capture file that has not yet received any packets fails > with "truncated dump file"; to avoid this, flush the file (forcing the > pcap header out) immediately after opening it. Checked into the main and 4.1 branches and push

[tcpdump-workers] [PATCH] When saving with -U, flush the dump file after opening it

2010-04-09 Thread Romain Francoise
Reading from a capture file that has not yet received any packets fails with "truncated dump file"; to avoid this, flush the file (forcing the pcap header out) immediately after opening it. Suggested by Ferenc Wagner in Debian bug #533625. --- tcpdump.c |4 1 files changed, 4 insertions