]> The Tcpdump Group git mirrors - tcpdump/commit
smb: use ND_BYTES_BETWEEN() to get the bytes between two packet pointers.
authorGuy Harris <[email protected]>
Wed, 27 May 2020 21:19:17 +0000 (14:19 -0700)
committerGuy Harris <[email protected]>
Wed, 27 May 2020 21:19:17 +0000 (14:19 -0700)
commitde1bfbceb3bdb9110265fba8b540905dc7918aea
treef0f854c3ed56d2d5b6d6029f028f026eb3c654ee
parent2ac0770c0d953b98414f80a45889a44f7e9606fd
smb: use ND_BYTES_BETWEEN() to get the bytes between two packet pointers.

That'll cast it to a u_int, so it's 1) unsigned and 2) not 64-bit on
LP64 or LLP64 platforms.
print-smb.c