[ovs-dev] [ofp-print 07/15] classifier: Use OFP_DEFAULT_PRIORITY instead of literal 32768.
Ben Pfaff
blp at nicira.com
Tue Dec 14 20:23:21 UTC 2010
---
lib/classifier.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/classifier.c b/lib/classifier.c
index 86d8269..236b120 100644
--- a/lib/classifier.c
+++ b/lib/classifier.c
@@ -352,7 +352,7 @@ cls_rule_format(const struct cls_rule *rule, struct ds *s)
int i;
- if (rule->priority != 32768) {
+ if (rule->priority != OFP_DEFAULT_PRIORITY) {
ds_put_format(s, "priority=%d,", rule->priority);
}
--
1.7.1
More information about the dev
mailing list