ovsdb-server: Correct Manager inactivity probe column name.
authorAndrew Evans <aevans@nicira.com>
Fri, 28 Jan 2011 01:47:30 +0000 (17:47 -0800)
committerAndrew Evans <aevans@nicira.com>
Fri, 28 Jan 2011 05:02:15 +0000 (21:02 -0800)
ovsdb-server tries to read from a column named 'probe_interval' in the Manager
table, but the column is actually named 'inactivity_probe', so a
user-configured probe interval will never be used.

ovsdb/ovsdb-server.c

index 9f63f3a8b31344bb44b3553560bec9e7aaeb38aa..b4f2e42e2b032834260c286dc99c97b1b38aa108 100644 (file)
@@ -346,7 +346,7 @@ add_manager_options(struct shash *remotes, const struct ovsdb_row *row)
     if (read_integer_column(row, "max_backoff", &max_backoff)) {
         options->max_backoff = max_backoff;
     }
-    if (read_integer_column(row, "probe_interval", &probe_interval)) {
+    if (read_integer_column(row, "inactivity_probe", &probe_interval)) {
         options->probe_interval = probe_interval;
     }
 }