projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hash: Add symmetric L3/L4 hash functions for multipath, bundle hashing.
[cascardo/ovs.git]
/
utilities
/
ovs-ofctl.c
diff --git
a/utilities/ovs-ofctl.c
b/utilities/ovs-ofctl.c
index
566a6b4
..
0bc7089
100644
(file)
--- a/
utilities/ovs-ofctl.c
+++ b/
utilities/ovs-ofctl.c
@@
-2521,10
+2521,11
@@
fte_insert(struct classifier *cls, const struct match *match,
struct fte *old, *fte;
fte = xzalloc(sizeof *fte);
struct fte *old, *fte;
fte = xzalloc(sizeof *fte);
- cls_rule_init(&fte->rule, match, priority
, CLS_MIN_VERSION
);
+ cls_rule_init(&fte->rule, match, priority);
fte->versions[index] = version;
fte->versions[index] = version;
- old = fte_from_cls_rule(classifier_replace(cls, &fte->rule, NULL, 0));
+ old = fte_from_cls_rule(classifier_replace(cls, &fte->rule,
+ CLS_MIN_VERSION, NULL, 0));
if (old) {
fte->versions[!index] = old->versions[!index];
old->versions[!index] = NULL;
if (old) {
fte->versions[!index] = old->versions[!index];
old->versions[!index] = NULL;