]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-zephyr.c
Use ND_TTEST_SIZE()/ND_TCHECK_SIZE() macros (2/n)
[tcpdump] / print-zephyr.c
index 735e273f0770bff33fa1dc962a497eb5514bae1e..bce894a4ccbcf622bb8fb7d7dabcfa121e06fd3e 100644 (file)
@@ -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;