From 01006fa95400b33797cff20376758e0890c12651 Mon Sep 17 00:00:00 2001 From: Josh Bailey Date: Mon, 20 Jan 2020 20:14:31 +1300 Subject: [PATCH] Should be using captured not received by filter. --- clib/mininet_test_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clib/mininet_test_base.py b/clib/mininet_test_base.py index b5b44e61a1..7f2d5bba9b 100644 --- a/clib/mininet_test_base.py +++ b/clib/mininet_test_base.py @@ -1932,7 +1932,7 @@ def verify_ping_mirrored_multi(self, ping_pairs, mirror_host, both_mirrored=Fals self.assertLessEqual(received_pings, max_expected_pings) def match_tcpdump_rx_packets(self, tcpdump_txt): - match_re = re.compile(r'.*(\d+) packets* received by filter.*') + match_re = re.compile(r'.*(\d+) packets* captured.*') match = match_re.match(tcpdump_txt) self.assertTrue(match, msg=tcpdump_txt) packets = int(match.group(1))