]> The Tcpdump Group git mirrors - tcpdump/commit
Clean up signed vs. unsigned.
authorGuy Harris <[email protected]>
Sun, 7 Jan 2018 06:18:00 +0000 (22:18 -0800)
committerGuy Harris <[email protected]>
Sun, 7 Jan 2018 06:18:00 +0000 (22:18 -0800)
commit39a7d38ee8332a8e70dff64676cc488443a5b76f
treeea1d92b7e8e0d2759d15cbf13a256570704e513d
parent4c09b9584b4bbfc097c9d96c29c4fd775ceca9c4
Clean up signed vs. unsigned.

Use unsigned for lengths.  Add additional length checks, as we can no
longer cheat and rely on "underflow turns the length negative, so just
check for > 0".

Show most NBT and SMB numerical fields as unsigned, as that's what they
are.  Have "d" and "D" treat the value as signed; add "u" and "U" for
unsigned values.
netdissect.h
print-smb.c
smbutil.c