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>
Tue, 17 May 2011 20:27:30 +0000 (13:27 -0700)
commit595e12cebbc1181395c6c2248c9b36802f71ca7b
treee3eaf6a3f9ed2e84d3f37db5b7834d5c97682307
parentaf7367bc2f32eff031b94260c62528418c59c22d
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