Re: [tcpdump-workers] [patch] print-dccp.c, dccp.h

2005-12-05 Thread Guy Harris
On Dec 3, 2005, at 8:51 AM, Gisle Vanem wrote: The print-dccp.c file is rather gcc centric in the way it uses declarations after code statements. E.g.: TCHECK2(*dh_ack,8); u_int32_t ack_low = dh_ack->dccph_ack_nr_low; Which doesn't work in MSVC7. The attached patch also removes the dccp_

[tcpdump-workers] [patch] print-dccp.c, dccp.h

2005-12-03 Thread Gisle Vanem
The print-dccp.c file is rather gcc centric in the way it uses declarations after code statements. E.g.: TCHECK2(*dh_ack,8); u_int32_t ack_low = dh_ack->dccph_ack_nr_low; Which doesn't work in MSVC7. The attached patch also removes the dccp_hdr_data() function. It's not used and besides writ