[ovs-dev] [mointor2 7/9] ovsdb-client: support monitor2
Liran Schour
LIRANS at il.ibm.com
Tue Nov 3 07:50:36 UTC 2015
"dev" <dev-bounces at openvswitch.org> wrote on 22/10/2015 07:45:29 AM:
>
> Add monito2 option to ovsdb-client. Sed ovsdb-client(1) manpage patch
> for details.
>
> Signed-off-by: Andy Zhou <azhou at nicira.com>
> ---
...
> static void
> +monitor2_print_row(struct json *row, const char *type, const char
*uuid,
> + const struct ovsdb_column_set *columns, struct table
*t)
> +{
> + if (!strcmp(type, "delete")) {
> + if (row) {
Should be: if (row->type != JSON_NULL) {
> + ovs_error(0, "delete method does not expect <row>");
> + return;
> + }
> +
More information about the dev
mailing list