* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
+#define NETDISSECT_REWORKED
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tcpdump-stdinc.h>
-#include <stdio.h>
#include <string.h>
-#include "netdissect.h"
+#include "interface.h"
#include "addrtoname.h"
#include "ether.h"
#include "ethertype.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) {