summaryrefslogtreecommitdiff
path: root/lib/ct-dpif.c
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@ovn.org>2016-05-03 18:20:51 -0700
committerJustin Pettit <jpettit@ovn.org>2016-05-08 09:26:19 -0700
commit2ff8484bbf88ce2552f0a55c6032d30eaff377e6 (patch)
treecc86a6270076eed91a2b1b49b71cc1421818e062 /lib/ct-dpif.c
parent20322d4b6ef2c4513535c7837a1e8becae1da7f1 (diff)
downloadopenvswitch-2ff8484bbf88ce2552f0a55c6032d30eaff377e6.tar.gz
util: Pass 128-bit arguments directly instead of using pointers.
Commit f2d105b5 (ofproto-dpif-xlate: xlate ct_{mark, label} correctly.) introduced the ovs_u128_and() function. It directly takes ovs_u128 values as arguments instead of pointers to them. As this is a bit more direct way to deal with 128-bit values, modify the other utility functions to do the same. Signed-off-by: Justin Pettit <jpettit@ovn.org> Acked-by: Joe Stringer <joe@ovn.org>
Diffstat (limited to 'lib/ct-dpif.c')
-rw-r--r--lib/ct-dpif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ct-dpif.c b/lib/ct-dpif.c
index d255a7150..63ca49829 100644
--- a/lib/ct-dpif.c
+++ b/lib/ct-dpif.c
@@ -168,7 +168,7 @@ ct_dpif_format_entry(const struct ct_dpif_entry *entry, struct ds *ds,
if (entry->mark) {
ds_put_format(ds, ",mark=%"PRIu32, entry->mark);
}
- if (!ovs_u128_is_zero(&entry->labels)) {
+ if (!ovs_u128_is_zero(entry->labels)) {
ovs_be128 value;
ds_put_cstr(ds, ",labels=");