[ovs-dev] [PATCH] ovsdb-server: Correct Manager inactivity probe column name.
Andrew Evans
aevans at nicira.com
Fri Jan 28 01:52:13 UTC 2011
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 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ovsdb/ovsdb-server.c b/ovsdb/ovsdb-server.c
index 5644fb3..97b448b 100644
--- a/ovsdb/ovsdb-server.c
+++ b/ovsdb/ovsdb-server.c
@@ -408,7 +408,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;
}
}
--
1.7.2.3
More information about the dev
mailing list