From 778ce573180618d4f694f91bd662d92b3eada725 Mon Sep 17 00:00:00 2001 From: John Lo Date: Thu, 1 Aug 2019 15:15:36 -0400 Subject: interface: fix pcap tx/rx trace cli handling Provide default packet_to_capture value. Display interface name correctly for "pcap tx/rx trace status". Type: fix Signed-off-by: John Lo Change-Id: I7064d0dbea236a9aff68bba7fbaf2c4a73b16c6f Signed-off-by: John Lo --- src/vppinfra/pcap.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vppinfra') diff --git a/src/vppinfra/pcap.h b/src/vppinfra/pcap.h index 893c67b7580..c3e1fef71f3 100644 --- a/src/vppinfra/pcap.h +++ b/src/vppinfra/pcap.h @@ -193,6 +193,8 @@ typedef struct u32 min_packet_bytes, max_packet_bytes; } pcap_main_t; +#define PCAP_DEF_PKT_TO_CAPTURE (100) + #endif /* included_vppinfra_pcap_h */ /* -- cgit 1.2.3-korg