refactor: rename packet_dump_stdio() to packet_print()

This commit is contained in:
luwenpeng
2024-08-21 14:00:51 +08:00
parent 7625f62a80
commit f2f5441b4c
9 changed files with 48 additions and 48 deletions

View File

@@ -249,7 +249,7 @@ static void packet_handler(u_char *user, const struct pcap_pkthdr *h, const u_ch
if (rte->print_verbose)
{
PRINT_GREEN("frame=%lu len=%u", rte->pcap_count, h->caplen);
packet_dump_stdio(&pkt);
packet_print(&pkt);
}
if (rte->tshark_format)