diff options
author | John Lo <loj@cisco.com> | 2019-08-01 15:15:36 -0400 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-08-01 22:53:14 +0000 |
commit | 778ce573180618d4f694f91bd662d92b3eada725 (patch) | |
tree | 08363730d419f9f35e0307337647272b9ad301b3 /src/vppinfra | |
parent | 49568afd2096600f5d6745385d81d873c8893e29 (diff) |
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 <loj@cisco.com>
Change-Id: I7064d0dbea236a9aff68bba7fbaf2c4a73b16c6f
Signed-off-by: John Lo <loj@cisco.com>
Diffstat (limited to 'src/vppinfra')
-rw-r--r-- | src/vppinfra/pcap.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ /* |