classifier: Use OFP_DEFAULT_PRIORITY instead of literal 32768.
authorBen Pfaff <blp@nicira.com>
Fri, 10 Dec 2010 17:20:49 +0000 (09:20 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 15 Dec 2010 17:48:18 +0000 (09:48 -0800)
lib/classifier.c

index 86d8269..236b120 100644 (file)
@@ -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);
     }