X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/6d854639ea6702adc7fcb077361ae00d2229f875..a63600a1fc28dbc7ae7ce9f996829c49a25fb33c:/print.c diff --git a/print.c b/print.c index b1c81dd6..123c842c 100644 --- a/print.c +++ b/print.c @@ -185,7 +185,7 @@ static const struct printer printers[] = { #ifdef DLT_LOOP { null_if_print, DLT_LOOP }, #endif -#if defined(DLT_PFLOG) && defined(HAVE_NET_IF_PFLOG_H) +#ifdef DLT_PFLOG { pflog_if_print, DLT_PFLOG }, #endif #ifdef DLT_PKTAP @@ -249,9 +249,7 @@ static const struct printer printers[] = { void init_print(netdissect_options *ndo, uint32_t localnet, uint32_t mask) { - init_addrtoname(ndo, localnet, mask); - init_checksum(); } if_printer