summaryrefslogtreecommitdiff
path: root/print-zephyr.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-01-03 22:23:30 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-01-03 22:23:30 +0100
commit4a28df231d469d78763dfaab9ee9ad4d0a73fca1 (patch)
tree279ea5389cc4ff0ca931495206c6463cec558912 /print-zephyr.c
parentd526e47658b691c4b5ca0d29759d1f67b7fb037b (diff)
downloadtcpdump-4a28df231d469d78763dfaab9ee9ad4d0a73fca1.tar.gz
Use ND_TTEST_SIZE()/ND_TCHECK_SIZE() macros (2/n)
Diffstat (limited to 'print-zephyr.c')
-rw-r--r--print-zephyr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-zephyr.c b/print-zephyr.c
index 735e273f..bce894a4 100644
--- a/print-zephyr.c
+++ b/print-zephyr.c
@@ -95,7 +95,7 @@ parse_field(netdissect_options *ndo, const char **pptr, int *len, int *truncated
/* Ran out of packet data without finding it */
return NULL;
}
- if (!ND_TTEST(**pptr)) {
+ if (!ND_TTEST_SIZE(*pptr)) {
/* Ran out of captured data without finding it */
*truncated = 1;
return NULL;