From 8fe2b9682c74b4735a5a7503568a586e3353ca85 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 10 Dec 2010 09:20:49 -0800 Subject: [PATCH] classifier: Use OFP_DEFAULT_PRIORITY instead of literal 32768. --- lib/classifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.30.2