ovsdb-types: Fix bug in ovsdb_base_type_is_ref().
authorBen Pfaff <blp@nicira.com>
Mon, 28 Mar 2011 17:48:36 +0000 (10:48 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 31 Mar 2011 23:43:01 +0000 (16:43 -0700)
commit219c9a73dc5bdff5c1350cc1b9cc10e405fefed2
tree0d863353d5068136a36a76d3e77aeb3fe06fc1fd
parent96ca8c29569b84d881f64bd84dca374d15651a84
ovsdb-types: Fix bug in ovsdb_base_type_is_ref().

This function only worked properly inside OVSDB itself, because that is
the only place where the 'refTable' member of ovsdb_base_type is set.
Both inside and outside OVSDB, 'refTableName' is set for reference types,
so it's better to check for that.

This doesn't fix any existing bug because this function was only used
inside OVSDB until now.
lib/ovsdb-types.h