]> The Tcpdump Group git mirrors - tcpdump/commit
Don't use "u_long", as its length is not guaranteed to be 4 bytes. In
authorguy <guy>
Wed, 13 Apr 2005 08:30:41 +0000 (08:30 +0000)
committerguy <guy>
Wed, 13 Apr 2005 08:30:41 +0000 (08:30 +0000)
commit6b5bfdd68880731aeaa54ae147387d1ade40286a
tree78933b285abc7090d5088e6ee1d341752b5d20b3
parent64690e70e5559c14aade6b2bccb3c05f14718d4c
Don't use "u_long", as its length is not guaranteed to be 4 bytes.  In
fact, don't even use "u_int32_t", as we're just pointing into a packet,
which is made up of bytes - use "u_char", and bump the pointer by 4 for
each item.
print-sctp.c