Add test case for tunnel
This commit is contained in:
@@ -202,7 +202,7 @@ static void packet_to_tshark_format(const struct packet *pkt, uint64_t idx)
|
||||
case LAYER_PROTO_VXLAN:
|
||||
buffer_push(&buff_proto, "vxlan");
|
||||
break;
|
||||
case LAYER_PROTO_GTPV1_U:
|
||||
case LAYER_PROTO_GTP:
|
||||
buffer_push(&buff_proto, "gtp");
|
||||
break;
|
||||
default:
|
||||
@@ -239,7 +239,7 @@ static void packet_handler(u_char *user, const struct pcap_pkthdr *h, const u_ch
|
||||
if (opts->print_readable_format)
|
||||
{
|
||||
printf("\033[0;32m frame=%lu len=%u \033[0m", number, h->caplen);
|
||||
packet_print_str(&pkt);
|
||||
packet_print(&pkt);
|
||||
}
|
||||
|
||||
if (opts->print_tshark_format)
|
||||
|
||||
Reference in New Issue
Block a user