git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
classifier: Use OFP_DEFAULT_PRIORITY instead of literal 32768.
[sliver-openvswitch.git]
/
lib
/
classifier.c
diff --git
a/lib/classifier.c
b/lib/classifier.c
index
86d8269
..
236b120
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);
}