summaryrefslogtreecommitdiffstats
path: root/test/test_vlib.py
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-12-24 16:59:38 -0500
committerDave Barach <openvpp@barachs.net>2019-12-25 13:01:48 +0000
commit29c6132108be68feb11c8d9bfaaf674cba86ee33 (patch)
tree9f5fae68a7d6361a2c40ea9df340f6e80aea4ca3 /test/test_vlib.py
parent1decd98e2edab69c3c7d6814d2da483175124dbd (diff)
classify: "classify filter ..." debug CLI cleanup
The pcap trace filter initial table index lives in cm->filter_set_by_sw_if_index [0], which corresponds to the "local0" interface. Debug cli makes sure that folks don't accidentally specify the "local0" interface. At least it does now... Fix the "vlib format.c code coverage" test in test/test_vlib.py. Type: fix Change-Id: I35320bc2c8f0c6f1f8c12e3529d1938548185151 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'test/test_vlib.py')
-rw-r--r--test/test_vlib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_vlib.py b/test/test_vlib.py
index eedfb2fff89..33dc602cf2a 100644
--- a/test/test_vlib.py
+++ b/test/test_vlib.py
@@ -170,8 +170,8 @@ class TestVlib(VppTestCase):
""" Vlib format.c Code Coverage Test """
cmds = ["loopback create",
- "classify filter pcap mask l2 proto ipv6 match l2 proto 86dd",
- "classify filter del",
+ "classify filter pcap mask l2 proto match l2 proto 0x86dd",
+ "classify filter pcap del",
"test format-vlib",
]