projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0871785
)
classifier: Use OFP_DEFAULT_PRIORITY instead of literal 32768.
author
Ben Pfaff
<blp@nicira.com>
Fri, 10 Dec 2010 17:20:49 +0000
(09:20 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Wed, 15 Dec 2010 17:48:18 +0000
(09:48 -0800)
lib/classifier.c
patch
|
blob
|
history
diff --git
a/lib/classifier.c
b/lib/classifier.c
index 86d8269021342c071fb766e3e21133b05666d9ea..236b1204217b6b34f659f81754daff58faac994c 100644
(file)
--- 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);
}