commit | f58cae2026d3a1718c97db61ccb3d4c64dffe218 | [log] [tgz] |
---|---|---|
author | Rich Lane <rlane@bigswitch.com> | Mon Oct 07 11:10:04 2013 -0700 |
committer | Rich Lane <rlane@bigswitch.com> | Mon Oct 07 11:10:04 2013 -0700 |
tree | 6ed1fef10c98f4d7742255ffd9ee5d446c83d8f0 | |
parent | 316204b6bdd81722c95cc6b6a8867a93226e333f [diff] [blame] |
flow_stats.CookieFlowStats: rearrange "matches" for loops
diff --git a/tests-1.3/flow_stats.py b/tests-1.3/flow_stats.py index b9fa8ad..4a82a89 100644 --- a/tests-1.3/flow_stats.py +++ b/tests-1.3/flow_stats.py
@@ -140,8 +140,8 @@ # Generate the matching cookies for each combination of cookie and mask matches = {} - for cookie in cookies: - for mask in cookies: + for mask in cookies: + for cookie in cookies: matching = [] for cookie2 in cookies: if cookie & mask == cookie2 & mask: