]> The Tcpdump Group git mirrors - tcpdump/commitdiff
More EXTRACT_8BITS() changes. Use ND_CHECK_nBITS() more as well.
authorGuy Harris <[email protected]>
Mon, 20 Nov 2017 05:02:54 +0000 (21:02 -0800)
committerGuy Harris <[email protected]>
Mon, 20 Nov 2017 05:02:54 +0000 (21:02 -0800)
netdissect.h

index 572bab361fe23c44c0e6f88ad9ba16cc90054841..d11f60f1f981f2a2c0d3b8a3b9c616b7273b2fab 100644 (file)
@@ -315,7 +315,7 @@ struct netdissect_options {
 /* Bail if "var" was not captured */
 #define ND_TCHECK(var) ND_TCHECK2(var, sizeof(var))
 
-#define ND_PRINT(STUFF) (*ndo->ndo_printf)STUFF
+#define ND_PRINT(STUFF) (ndo->ndo_printf)STUFF
 #define ND_DEFAULTPRINT(ap, length) (*ndo->ndo_default_print)(ndo, ap, length)
 
 extern void ts_print(netdissect_options *, const struct timeval *);