summaryrefslogtreecommitdiff
path: root/utilities/ovs-ofctl.c
diff options
context:
space:
mode:
authorJarno Rajahalme <jarno@ovn.org>2016-07-29 16:52:01 -0700
committerJarno Rajahalme <jarno@ovn.org>2016-07-29 16:52:01 -0700
commit44e0c35d981d416d56021e6409dde300148be4cf (patch)
treefd90c011b16497cf076ecfb6d1a16084751d8b79 /utilities/ovs-ofctl.c
parentc5f346a55f2e9050ea172dbb71d63a0d5121ce11 (diff)
downloadopenvswitch-44e0c35d981d416d56021e6409dde300148be4cf.tar.gz
lib: Separate versioning to its own module.
Separate rule versioning to lib/versions.h to make it easier to use versioning for other data types. Signed-off-by: Jarno Rajahalme <jarno@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'utilities/ovs-ofctl.c')
-rw-r--r--utilities/ovs-ofctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utilities/ovs-ofctl.c b/utilities/ovs-ofctl.c
index 8b0272247..e373aa430 100644
--- a/utilities/ovs-ofctl.c
+++ b/utilities/ovs-ofctl.c
@@ -2867,7 +2867,7 @@ fte_insert(struct flow_tables *tables, const struct match *match,
fte->versions[index] = version;
old = fte_from_cls_rule(classifier_replace(cls, &fte->rule,
- CLS_MIN_VERSION, NULL, 0));
+ OVS_VERSION_MIN, NULL, 0));
if (old) {
fte->versions[!index] = old->versions[!index];
old->versions[!index] = NULL;