diff options
author | Denis Ovsienko <denis@ovsienko.info> | 2020-09-27 21:48:16 +0100 |
---|---|---|
committer | Denis Ovsienko <denis@ovsienko.info> | 2020-09-27 21:48:16 +0100 |
commit | 74e3481289129ab31b953a2413a8ab6f07585c6e (patch) | |
tree | 9459ebbd6ef299f9c0a678be467846930695aaae /netdissect.h | |
parent | 424961546a4e32086ff7e431794173a2d0901469 (diff) | |
download | tcpdump-74e3481289129ab31b953a2413a8ab6f07585c6e.tar.gz |
Rename nd_trunc() to nd_trunc_longjmp().
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 |