Skip to content

Commit 1569ecf

Browse files
authored
Merge pull request #3431 from anarkiwi/filter
Should be using captured not received by filter.
2 parents b478865 + 01006fa commit 1569ecf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clib/mininet_test_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1932,7 +1932,7 @@ def verify_ping_mirrored_multi(self, ping_pairs, mirror_host, both_mirrored=Fals
19321932
self.assertLessEqual(received_pings, max_expected_pings)
19331933

19341934
def match_tcpdump_rx_packets(self, tcpdump_txt):
1935-
match_re = re.compile(r'.*(\d+) packets* received by filter.*')
1935+
match_re = re.compile(r'.*(\d+) packets* captured.*')
19361936
match = match_re.match(tcpdump_txt)
19371937
self.assertTrue(match, msg=tcpdump_txt)
19381938
packets = int(match.group(1))

0 commit comments

Comments
 (0)