From: Klement Sekera Date: Mon, 2 Jan 2017 09:31:17 +0000 (+0100) Subject: make test: fix debug print X-Git-Tag: v17.04-rc1~441 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=b12794e1bfd07a5affe20d7e168381d09d8d51b5;p=vpp.git make test: fix debug print Change-Id: Id31a1a3644bdc245f12f3c9bce211099c5ef48f8 Signed-off-by: Klement Sekera --- 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)" %