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 9f63f3a..b4f2e42 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;
     }
 }