ctdb: make use of ctdb_canonicalize_ip_inplace() in ctdb_control_tcp_client()
authorStefan Metzmacher <metze@samba.org>
Tue, 12 Dec 2023 12:27:17 +0000 (13:27 +0100)
committerJule Anger <janger@samba.org>
Sat, 16 Dec 2023 14:29:10 +0000 (14:29 +0000)
commit9d8768ffd35f1a082bfda85274c08e8f3fe8e863
treeabd034cbddfdeecd0edf773115bc56798f8f8db1
parentd7249b3cbd204a839c279e753d59c118b9b8dc8b
ctdb: make use of ctdb_canonicalize_ip_inplace() in ctdb_control_tcp_client()

We could also remove the src_addr and dest_addr helper variables
completely, but that would be too much for this commit.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
(cherry picked from commit 5f52d140f7b676ed68b5ce49d4445357bcbcb1a6)
ctdb/server/ctdb_takeover.c