diff options
author | Ben Pfaff <blp@nicira.com> | 2010-02-08 14:09:36 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-02-08 14:16:19 -0800 |
commit | bd76d25d8b3b7d11c5a326e91d784ad2cdeecd45 (patch) | |
tree | 688e7370f9794e3c4189c38ff38a59937c9016e1 /ovsdb/table.c | |
parent | 629cd2f17fedf8d922f61ffd13365d1f4f9b34fe (diff) | |
download | openvswitch-bd76d25d8b3b7d11c5a326e91d784ad2cdeecd45.tar.gz |
ovsdb: Add simple constraints.
Diffstat (limited to 'ovsdb/table.c')
-rw-r--r-- | ovsdb/table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ovsdb/table.c b/ovsdb/table.c index 96d3101f6..190185245 100644 --- a/ovsdb/table.c +++ b/ovsdb/table.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2009 Nicira Networks +/* Copyright (c) 2009, 2010 Nicira Networks * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -144,7 +144,7 @@ ovsdb_table_schema_to_json(const struct ovsdb_table_schema *ts) columns = json_object_create(); SHASH_FOR_EACH (node, &ts->columns) { - struct ovsdb_column *column = node->data; + const struct ovsdb_column *column = node->data; if (node->name[0] != '_') { json_object_put(columns, column->name, ovsdb_column_to_json(column)); |