summaryrefslogtreecommitdiff
path: root/lib/classifier.h
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2010-10-07 23:30:06 -0700
committerJustin Pettit <jpettit@nicira.com>2010-10-08 11:19:02 -0700
commit5db39d100c328b218e8c89efab4f43609febf34c (patch)
tree5ee833e4b35e64170ccaacf6a39868a7d8886fe9 /lib/classifier.h
parentc5cd8b2ef14fa258f57ac5046ca3e85d97cd7650 (diff)
downloadopenvswitch-5db39d100c328b218e8c89efab4f43609febf34c.tar.gz
classifier: Add missing argument in CLASSIFIER_FOR_EACH_EXACT_RULE_SAFE
The CLASSIFIER_FOR_EACH_EXACT_RULE_SAFE macro was missing its "MEMBER" argument. It doesn't currently cause any problems because no one uses the macro.
Diffstat (limited to 'lib/classifier.h')
-rw-r--r--lib/classifier.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/classifier.h b/lib/classifier.h
index 13eb0510b..9b0b38d3b 100644
--- a/lib/classifier.h
+++ b/lib/classifier.h
@@ -171,7 +171,7 @@ struct cls_rule *classifier_find_rule_exactly(const struct classifier *,
#define CLASSIFIER_FOR_EACH_EXACT_RULE(RULE, MEMBER, CLS) \
HMAP_FOR_EACH (RULE, MEMBER.node.hmap, &(CLS)->exact_table)
-#define CLASSIFIER_FOR_EACH_EXACT_RULE_SAFE(RULE, NEXT, CLS) \
+#define CLASSIFIER_FOR_EACH_EXACT_RULE_SAFE(RULE, NEXT, MEMBER, CLS) \
HMAP_FOR_EACH_SAFE (RULE, NEXT, MEMBER.node.hmap, &(CLS)->exact_table)
#endif /* classifier.h */