]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-tests: Drop unused function ctdb_get_all_public_addresses()
authorMartin Schwenke <martin@meltin.net>
Tue, 12 Oct 2021 01:27:51 +0000 (12:27 +1100)
committerMartin Schwenke <martins@samba.org>
Tue, 12 Oct 2021 23:24:18 +0000 (23:24 +0000)
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

ctdb/tests/UNIT/eventscripts/scripts/local.sh

index 7460bf9748e8341e109dd4a735364d8a4917e21c..84a5fc9772fbf63084c12a2c7d9ddb3b98e7ff42 100644 (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 ()