ctdb-daemon: Use ctdb_connection_to_buf() to simplify
authorMartin Schwenke <mschwenke@ddn.com>
Tue, 12 Dec 2023 23:22:04 +0000 (10:22 +1100)
committerStefan Metzmacher <metze@samba.org>
Fri, 15 Dec 2023 11:06:34 +0000 (11:06 +0000)
commit8fc3872557f715dc38f9898754a785fd073ace96
tree2e753b730d058c6053ab6951a192629471f3cb2b
parentddf47e7fe314e0f5bf71ff53e35350e0ba530d08
ctdb-daemon: Use ctdb_connection_to_buf() to simplify

The one case that is no longer handled specially is when the
destination address is IPv4 loopback.  This may previously have been
used to avoid flooding the logs when testing.  However, that seems
unnecessary - if testing with 127.0.0.1 then make it a public address.

Modernise debug while touching the code.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15523

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
ctdb/server/ctdb_takeover.c