On Wed, Feb 3, 2016 at 9:42 AM, Liran Schour <lir...@il.ibm.com> wrote:

> Add monitor_cond method to ovsdb-client. Add unit tests.
> See ovsdb-client(1) man page for details.
> Replace monitor2 with monitor_cond.
>
> Signed-off-by: Liran Schour <lir...@il.ibm.com>
>
> Found a small bug during testing. Would you please fold it in to the next
version?

 diff --git a/ovsdb/ovsdb-client.c b/ovsdb/ovsdb-client.c
index ba2c1c8..0917668 100644
--- a/ovsdb/ovsdb-client.c
+++ b/ovsdb/ovsdb-client.c
@@ -1358,7 +1358,7 @@ static const struct ovsdb_client_command
all_commands[] =
     { "list-columns",       NEED_DATABASE, 0, 1,       do_list_columns },
     { "transact",           NEED_RPC,      1, 1,       do_transact },
     { "monitor",            NEED_DATABASE, 1, INT_MAX, do_monitor },
-    { "monitor-cond",       NEED_DATABASE, 2, 3,       do_monitor_cond },
+    { "monitor-cond",       NEED_DATABASE, 2, INT_MAX, do_monitor_cond },
     { "dump",               NEED_DATABASE, 0, INT_MAX, do_dump },
     { "help",               NEED_NONE,     0, INT_MAX, do_help },
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to