Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
blotus committed Sep 23, 2024
1 parent c208a18 commit 2e5dd52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/backends/iptables/test_iptables.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def testLogging(self):
#Check if our logging chain is in place

output = run_cmd("iptables", "-L", LOGGING_CHAIN_NAME)
rules = [line for line in output.split("\n")]
rules = [line for line in output.split("\n") if 'anywhere' in line]

#2 rules: one logging, one generic drop
self.assertEqual(len(rules), 2)
Expand Down

0 comments on commit 2e5dd52

Please sign in to comment.