summaryrefslogtreecommitdiff
path: root/print-slow.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2017-11-24 22:48:55 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2017-11-24 22:48:55 +0100
commit39c8c55aa9ff84244cf558b9a957b78933babf0a (patch)
treed1f013767035c78b78a987cea509567603ab7783 /print-slow.c
parentc511f4c3be6273b25b0d1802eee2ede3d69b2398 (diff)
downloadtcpdump-39c8c55aa9ff84244cf558b9a957b78933babf0a.tar.gz
Use more ND_TCHECK_n()/ND_TTEST_n() macros
Diffstat (limited to 'print-slow.c')
-rw-r--r--print-slow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-slow.c b/print-slow.c
index 2e2479ea..a4064ed4 100644
--- a/print-slow.c
+++ b/print-slow.c
@@ -620,7 +620,7 @@ slow_oam_print(netdissect_options *ndo,
/* Sequence number */
if (tlen < 2)
goto tooshort;
- ND_TCHECK2(*tptr, 2);
+ ND_TCHECK_2(tptr);
ND_PRINT((ndo, "\n\t Sequence Number %u", EXTRACT_BE_U_2(tptr)));
tlen -= 2;
tptr += 2;