]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Fix NDOization
authorFrancois-Xavier Le Bail <[email protected]>
Fri, 21 Oct 2016 19:27:53 +0000 (21:27 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Fri, 21 Oct 2016 19:27:53 +0000 (21:27 +0200)
putchar() -> ND_PRINT(());

print.c

diff --git a/print.c b/print.c
index 7825e128ea1c474507f809b434bcb466aaf58785..41ca9cadf8e493fc53f373483ba5c5d76d3653a8 100644 (file)
--- a/print.c
+++ b/print.c
@@ -401,7 +401,7 @@ pretty_print_packet(netdissect_options *ndo, const struct pcap_pkthdr *h,
                }
        }
 
-       putchar('\n');
+       ND_PRINT((ndo, "\n"));
 }
 
 /*