aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2017-01-02 10:31:17 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2017-01-02 22:55:42 +0000
commitb12794e1bfd07a5affe20d7e168381d09d8d51b5 (patch)
tree4a41553dda3a8bab048e60c1e93970eaaa6a2566
parenta913534837441c59e3f7717089f57fdbcda476b9 (diff)
make test: fix debug print
Change-Id: Id31a1a3644bdc245f12f3c9bce211099c5ef48f8 Signed-off-by: Klement Sekera <ksekera@cisco.com>
-rw-r--r--test/vpp_pg_interface.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vpp_pg_interface.py b/test/vpp_pg_interface.py
index a79af037098..2256ada05d5 100644
--- a/test/vpp_pg_interface.py
+++ b/test/vpp_pg_interface.py
@@ -148,7 +148,7 @@ class VppPGInterface(VppInterface):
before = len(output.res)
if filter_out_fn:
output.res = [p for p in output.res if not filter_out_fn(p)]
- removed = len(output.res) - before
+ removed = before - len(output.res)
if removed:
self.test.logger.debug(
"Filtered out %s packets from capture (returning %s)" %