]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Fix a typo in ND_LCHECK_ZU definition
authorFrancois-Xavier Le Bail <[email protected]>
Sun, 17 Jan 2021 09:29:12 +0000 (10:29 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Sun, 17 Jan 2021 09:33:39 +0000 (10:33 +0100)
[skip ci]

netdissect.h

index 9541740b8e39c7066f9eedef83adc4cbde709887..75db65b884c01c11720be9d6ce1eda1a200e97a7 100644 (file)
@@ -402,7 +402,7 @@ goto invalid; \
 
 /* Check length < minimum for invalid packet with #length message, format %zu */
 #define ND_LCHECK_ZU(length, minimum) \
-ND_LCHECKMSG_U((length), (minimum), (#length))
+ND_LCHECKMSG_ZU((length), (minimum), (#length))
 
 #define ND_PRINT(...) (ndo->ndo_printf)(ndo, __VA_ARGS__)
 #define ND_DEFAULTPRINT(ap, length) (*ndo->ndo_default_print)(ndo, ap, length)