classifier: Use OFP_DEFAULT_PRIORITY instead of literal 32768.
[sliver-openvswitch.git] / 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);
     }