diff mbox

[ovs-dev,monitor_cond,V3,05/10] ovsdb-client: support monitor-cond

Message ID CABKoBm1Ag_tNKRqKcqF44=dx934mR_tPVxkrZn7RWWyfhf64qw@mail.gmail.com
State Not Applicable
Headers show

Commit Message

Andy Zhou Feb. 4, 2016, 10:07 p.m. UTC
On Wed, Feb 3, 2016 at 9:42 AM, Liran Schour <lirans@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 <lirans@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
diff mbox

Patch

--- 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 },