diff options
author | Ben Pfaff <blp@ovn.org> | 2019-04-30 15:07:07 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2019-06-09 16:19:30 -0700 |
commit | 4304fd986e11a889af4b8f50e052279b602e5c2a (patch) | |
tree | f2c17bb5ce86e99264e4d2e1ef43ee33e0bfc153 /lib | |
parent | 9f0721e989fcaee69882130e31bc4ce223d7f59d (diff) | |
download | openvswitch-4304fd986e11a889af4b8f50e052279b602e5c2a.tar.gz |
ovs-ofctl: New testing command "parse-group".
This will be used in an upcoming test.
Acked-by: Numan Siddique <nusiddiq@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ofp-group.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/ofp-group.c b/lib/ofp-group.c index da5ff5848..b675e802c 100644 --- a/lib/ofp-group.c +++ b/lib/ofp-group.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008-2017 Nicira, Inc. + * Copyright (c) 2008-2017, 2019 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -2014,6 +2014,8 @@ ofputil_encode_ofp11_group_mod(enum ofp_version ofp_version, ogm->type = gm->type; ogm->group_id = htonl(gm->group_id); + ofpmsg_update_length(b); + return b; } @@ -2080,6 +2082,7 @@ ofputil_encode_ofp15_group_mod(enum ofp_version ofp_version, } id_pool_destroy(bucket_ids); + ofpmsg_update_length(b); return b; } |