aboutsummaryrefslogtreecommitdiffstats
path: root/extras/pcapcli
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2020-01-27 09:56:58 -0500
committerDave Barach <openvpp@barachs.net>2020-02-12 13:45:47 +0000
commitb01058ce2c79705b96aeba52e41ba986640020f0 (patch)
tree639d8dfde04a390d76ee99d42bb0780b3178cd4c /extras/pcapcli
parent1d609270b61b551b9e81db0f573e861dedc1d3cf (diff)
classify: pcap / packet trace debug CLI bugs
"classify filter trace ... " and "classify filter pcap ..." are mutually exclusive. vnet_pcap_dispatch_trace_configure needs to check for set->table_indices == NULL. Type: fix Ticket: VPP-1827 Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I43733364087ffb0a43de92e450955033431d559d (cherry picked from commit 196fce2b62c0d215722dd233aa8bf70a43aa0a66)
Diffstat (limited to 'extras/pcapcli')
-rw-r--r--extras/pcapcli/setup.tracefilter4
1 files changed, 3 insertions, 1 deletions
diff --git a/extras/pcapcli/setup.tracefilter b/extras/pcapcli/setup.tracefilter
index e6c86298c84..db07a0e4224 100644
--- a/extras/pcapcli/setup.tracefilter
+++ b/extras/pcapcli/setup.tracefilter
@@ -17,4 +17,6 @@ packet-generator new {
}
}
-classify filter trace mask l3 ip4 src match l3 ip4 src 192.168.1.15
+comment { Pick one, uncomment, and "pcap rx ..." or "trace add pg-input ..." }
+comment { classify filter trace mask l3 ip4 src match l3 ip4 src 192.168.1.15 }
+comment { classify filter pcap mask l3 ip4 src match l3 ip4 src 192.168.1.15 }