refactor: packet dump utils
This commit is contained in:
@@ -256,7 +256,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_print(&pkt);
|
||||
packet_dump_stdio(&pkt);
|
||||
}
|
||||
|
||||
if (rte->tshark_format)
|
||||
|
||||
Reference in New Issue
Block a user