]> The Tcpdump Group git mirrors - tcpdump/commit
More EXTRACT_8BITS() and other cleanups.
authorGuy Harris <[email protected]>
Wed, 22 Nov 2017 18:15:49 +0000 (10:15 -0800)
committerGuy Harris <[email protected]>
Wed, 22 Nov 2017 18:15:49 +0000 (10:15 -0800)
commitc0679b38a3ee4ba138500fce5f1631989492f37e
tree12476fd9c59129e67f1b595acc72a7476ff532de
parent01cd3621f1ded1d0ec5cb55a87bcc3d735d59422
More EXTRACT_8BITS() and other cleanups.

Get rid of casts to (int) that aren't needed or wanted.

If a field is unsigned, use an unsigned variable for it, print it with
%u, not %d, and don't cast it to int.

Replace a static variable in print-dvmrp.c with a local variable in
dvmrp_print() and a parameter to print_neighbors2().
netdissect.h
print-dhcp6.c
print-dvmrp.c
print-esp.c
print-forces.c
print-ip.c
print-ip6.c
print-ip6opts.c
print-isakmp.c
print-rsvp.c