X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/8ab5c3a4e75a3ce8da691cd6ca6a9945082827af..e2982e7f6f0b624a773ec5a58885ee80fab46d34:/print.c diff --git a/print.c b/print.c index 703d7ef2..1e2e5f3f 100644 --- a/print.c +++ b/print.c @@ -317,7 +317,7 @@ pretty_print_packet(netdissect_options *ndo, const struct pcap_pkthdr *h, u_int hdrlen; if(ndo->ndo_packet_number) - ND_PRINT((ndo, "%5u ", packets_captured)); + ND_PRINT("%5u ", packets_captured); ts_print(ndo, &h->ts); @@ -394,7 +394,7 @@ pretty_print_packet(netdissect_options *ndo, const struct pcap_pkthdr *h, } } - ND_PRINT((ndo, "\n")); + ND_PRINT("\n"); } /*