#include <tcpdump-stdinc.h>
-#include <stdio.h>
#include <string.h>
#include "netdissect.h"
}
/* print operation */
- printf("%s%s ",
+ ND_PRINT((ndo, "%s%s ",
ndo->ndo_vflag ? ", " : "",
- tok2str(arpop_values, "Unknown (%u)", op));
+ tok2str(arpop_values, "Unknown (%u)", op)));
switch (op) {
}
/* print operation */
- printf("%s%s ",
+ ND_PRINT((ndo, "%s%s ",
ndo->ndo_vflag ? ", " : "",
- tok2str(arpop_values, "Unknown (%u)", op));
+ tok2str(arpop_values, "Unknown (%u)", op)));
switch (op) {
domp = cp + 8; /* domain names, variable-sized, RFC1035-encoded */
while (domp < cp + (op->nd_opt_len << 3) && *domp != '\0')
{
- printf (" ");
+ ND_PRINT((ndo, " "));
if ((domp = ns_nprint (domp, bp)) == NULL)
goto trunc;
}