From b12794e1bfd07a5affe20d7e168381d09d8d51b5 Mon Sep 17 00:00:00 2001 From: Klement Sekera Date: Mon, 2 Jan 2017 10:31:17 +0100 Subject: make test: fix debug print Change-Id: Id31a1a3644bdc245f12f3c9bce211099c5ef48f8 Signed-off-by: Klement Sekera --- test/vpp_pg_interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/vpp_pg_interface.py') diff --git a/test/vpp_pg_interface.py b/test/vpp_pg_interface.py index a79af037..2256ada0 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)" % -- cgit 1.2.3-korg