Re: Problem with tcpdump file reading in sflowtool.c

From: neil mckee <neil.mckee@inmon.com>
Date: 02/06/06
Message-Id: <CAE19D3B-79B5-4674-9534-83703C4FC786@inmon.com>

Thanks Richard, I'll roll both of your patches into the distribution.

regards,
neil

On Feb 6, 2006, at 10:27 AM, Richard Clayton wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> There's a problem in sflowtool.c when reading from tcpdump files...
>
> One of the diagnostic messages is sent to STDOUT rather than STDERR
> which makes rather a mess of things if you're generating another
> tcpdump
> file as output (because that's always on STDOUT, there's no filename
> parameter for the -t option)
>
> The fix is trivial...
>
> 2495c2495
> < printf("\npcap_timestamp = %s\n", ctime(&tim));
> - ---
>> fprintf(stderr, "\npcap_timestamp = %s\n", ctime(&tim));
>
>
> - --
> richard @ highwayman . com "Nothing seems the
> same
> Still you never see the change from day
> to day
> And no-one notices the customs slip
> away"
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGPsdk version 1.7.1
>
> iQA/AwUBQ+eVBJoAxkTY1oPiEQKYbQCg2VtYAJcwL01Ihzx6/tWX2LV9xYYAoK2n
> L0pKuJrakrxGs8iiGaZF5act
> =xArm
> -----END PGP SIGNATURE-----

----
Neil McKee
InMon Corp.
http://www.inmon.com
Received on Mon Feb 6 11:05:15 2006

This archive was generated by hypermail 2.1.8 : 02/06/06 PST