summaryrefslogtreecommitdiff
path: root/ctdb/common
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2018-08-21 13:41:22 +1000
committerKarolin Seeger <kseeger@samba.org>2018-08-28 10:59:16 +0200
commit79a3befc052d0da27e7ef21e6366758f65121007 (patch)
tree9d83283867e32e825e349a0c97e8901d0a0a2b0f /ctdb/common
parent83b79f5bfb5af906f23ca81e13e4d3682e6a3a58 (diff)
downloadsamba-79a3befc052d0da27e7ef21e6366758f65121007.tar.gz
ctdb-config: Switch tunable DisableIPFailover to a config option
Use the "failover:disabled" option instead. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13589 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> (cherry picked from commit 929634126a334e380f16c080b59d062873b4e5f9)
Diffstat (limited to 'ctdb/common')
-rw-r--r--ctdb/common/tunable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/common/tunable.c b/ctdb/common/tunable.c
index e9367980753..f516d8c5374 100644
--- a/ctdb/common/tunable.c
+++ b/ctdb/common/tunable.c
@@ -83,7 +83,7 @@ static struct {
offsetof(struct ctdb_tunable_list, reclock_ping_period) },
{ "NoIPFailback", 0, false,
offsetof(struct ctdb_tunable_list, no_ip_failback) },
- { "DisableIPFailover", 0, false,
+ { "DisableIPFailover", 0, true,
offsetof(struct ctdb_tunable_list, disable_ip_failover) },
{ "VerboseMemoryNames", 0, false,
offsetof(struct ctdb_tunable_list, verbose_memory_names) },