mirror of
https://github.com/openvswitch/ovs
synced 2025-10-25 15:07:05 +00:00
ovsdb: Require database, table, column names to be valid identifiers.
Database, table, and column names have always been required by the OVSDB specification to be identifiers (e.g. valid C identifiers), but this has never been enforced. This commit adds enforcement and fixes one instance of an invalid column name in the vswitch schema.
This commit is contained in:
@@ -71,4 +71,6 @@ struct ovsdb_error *ovsdb_parser_get_error(const struct ovsdb_parser *);
|
||||
struct ovsdb_error *ovsdb_parser_finish(struct ovsdb_parser *)
|
||||
WARN_UNUSED_RESULT;
|
||||
|
||||
bool ovsdb_parser_is_id(const char *string);
|
||||
|
||||
#endif /* ovsdb-parser.h */
|
||||
|
||||
Reference in New Issue
Block a user