diff options
author | Jarno Rajahalme <jarno@ovn.org> | 2016-07-29 16:52:01 -0700 |
---|---|---|
committer | Jarno Rajahalme <jarno@ovn.org> | 2016-07-29 16:52:01 -0700 |
commit | 44e0c35d981d416d56021e6409dde300148be4cf (patch) | |
tree | fd90c011b16497cf076ecfb6d1a16084751d8b79 /utilities/ovs-ofctl.c | |
parent | c5f346a55f2e9050ea172dbb71d63a0d5121ce11 (diff) | |
download | openvswitch-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.c | 2 |
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; |