Kevin Reay writes:
>> > Attempted to match printf formating of unsigned 32bits to rest of
>> > file.
>>
>> I don't think this is the good direction. "seq" and "length" are 32bits
>> integers. Why cast them to long, and then print them as unsigned long?
>> Let's just print them as unsigned int.
> > Attempted to match printf formating of unsigned 32bits to rest of
> > file.
>
> I don't think this is the good direction. "seq" and "length" are 32bits
> integers. Why cast them to long, and then print them as unsigned long?
> Let's just print them as unsigned int.
That sounds good to me. I
Kevin Reay writes:
> Change printf format to print unsigned values. Minor spacing change of
> casts to match file/style(9).
>
> Attempted to match printf formating of unsigned 32bits to rest of
> file.
I don't think this is the good direction. "seq" and "length" are 32bits
integers. Why cast t
Change printf format to print unsigned values. Minor spacing change of
casts to match file/style(9).
Attempted to match printf formating of unsigned 32bits to rest of
file.
Index: print-tcp.c
===
RCS file: /cvs/src/usr.sbin/tcpdump/pr