From: Ben Pfaff Date: Fri, 10 Dec 2010 17:20:49 +0000 (-0800) Subject: classifier: Use OFP_DEFAULT_PRIORITY instead of literal 32768. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fe2b9682c74b4735a5a7503568a586e3353ca85;p=openvswitch classifier: Use OFP_DEFAULT_PRIORITY instead of literal 32768. --- diff --git a/lib/classifier.c b/lib/classifier.c index 86d82690..236b1204 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); }