X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=ovsdb%2Fmutation.c;h=9f09d594197712b71755aaf565daa2310e5d83cb;hb=a9a4b30c0091b507dfe0f7c59c80355693836f04;hp=72d7d0caf29781a52c2949cf87c0a95f8d1f84c6;hpb=02dd3123a0e312f1d33403e744af52dd6096f12d;p=sliver-openvswitch.git diff --git a/ovsdb/mutation.c b/ovsdb/mutation.c index 72d7d0caf..9f09d5941 100644 --- a/ovsdb/mutation.c +++ b/ovsdb/mutation.c @@ -310,7 +310,7 @@ mutate_scalar(const struct ovsdb_type *dst_type, struct ovsdb_datum *dst, } } - error = ovsdb_datum_sort(dst, dst_type); + error = ovsdb_datum_sort(dst, dst_type->key.type); if (error) { ovsdb_error_destroy(error); return ovsdb_error("constraint violation",