diff options
Diffstat (limited to 'netdissect.h')
-rw-r--r-- | netdissect.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netdissect.h b/netdissect.h index b87b76a7..74a113fc 100644 --- a/netdissect.h +++ b/netdissect.h @@ -363,7 +363,7 @@ extern void nd_pop_all_packet_info(netdissect_options *); /* Bail out if "l" bytes from "p" were not captured */ #ifdef ND_LONGJMP_FROM_TCHECK -#define ND_TCHECK_LEN(p, l) if (!ND_TTEST_LEN(p, l)) nd_trunc(ndo) +#define ND_TCHECK_LEN(p, l) if (!ND_TTEST_LEN(p, l)) nd_trunc_longjmp(ndo) #else #define ND_TCHECK_LEN(p, l) if (!ND_TTEST_LEN(p, l)) goto trunc #endif |