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 15:07:14 +0000 (15:07 +0000)
commit0d6a38604b247d94869d80a2caf310175a27f605
tree6711a312cb551e40dff227bad87816a41995bc10
parent69c4f498c84f42626efd71773a5e4509cbfaf29f
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