From 7b01e9e897c8f780e79ca6e64c72d700bd27f86e Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Wed, 9 Jan 2019 10:22:24 -0500 Subject: Use the official libpcap file type Change-Id: Ia34a4278eedc8cf450688b1fa0291e1f976868d3 Signed-off-by: Dave Barach --- src/vlib/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vlib') diff --git a/src/vlib/main.c b/src/vlib/main.c index 949a77d3d71..ae78c430134 100644 --- a/src/vlib/main.c +++ b/src/vlib/main.c @@ -2220,7 +2220,7 @@ pcap_dispatch_trace_command_internal (vlib_main_t * vm, pm->file_name = (char *) format (0, "/tmp/dispatch.pcap%c", 0); pm->n_packets_captured = 0; - pm->packet_type = PCAP_PACKET_TYPE_user13; + pm->packet_type = PCAP_PACKET_TYPE_vpp; if (pm->lock == 0) clib_spinlock_init (&(pm->lock)); vm->dispatch_pcap_enable = 1; -- cgit 1.2.3-korg