]> The Tcpdump Group git mirrors - tcpdump/commit
esis: use ND_TTEST_LEN() and ND_BYTES_BETWEEN() on pointers.
authorGuy Harris <[email protected]>
Wed, 27 May 2020 05:13:02 +0000 (22:13 -0700)
committerGuy Harris <[email protected]>
Wed, 27 May 2020 05:13:02 +0000 (22:13 -0700)
commit3cb1082cb5ca0701728c5be20f691f59804f8c29
tree1284ec2a351efa3fce090ebc676d4edd24afd0a4
parentae251eb4a434dc68535aa307beca6358d905466b
esis: use ND_TTEST_LEN() and ND_BYTES_BETWEEN() on pointers.

Using ND_TTEST_LEN() makes the check a bit more stringent.

Using ND_BYTES_BETWEEN() casts the difference to a u_int, so it's 1)
unsigned and 2) not 64-bit on LP64 or LLP64 platforms.
print-isoclns.c