1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

ctdb-tests: Drop unused function ctdb_get_all_public_addresses()

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Tue Oct 12 23:24:18 UTC 2021 on sn-devel-184
This commit is contained in:
Martin Schwenke 2021-10-12 12:27:51 +11:00 committed by Martin Schwenke
parent 4e3676cb3c
commit 1719ef7893

View File

@ -323,16 +323,6 @@ ctdb_get_1_interface ()
echo ${_t%% *}
}
# Print all public addresses as: interface IP maskbits
# Each line is suitable for passing to takeip/releaseip
ctdb_get_all_public_addresses ()
{
_f="${CTDB_BASE}/public_addresses"
while IFS="/$IFS" read _ip _maskbits _ifaces ; do
echo "$_ifaces $_ip $_maskbits"
done <"$_f"
}
# Print public addresses on this node as: interface IP maskbits
# Each line is suitable for passing to takeip/releaseip
ctdb_get_my_public_addresses ()