ctdb-tests: Simplify read_ctdb_public_ip_info() using new function add_ip()
authorMartin Schwenke <martin@meltin.net>
Tue, 21 Jun 2016 02:27:55 +0000 (12:27 +1000)
committerAmitay Isaacs <amitay@samba.org>
Mon, 4 Jul 2016 13:42:23 +0000 (15:42 +0200)
commitfcc373e3c3041715092adbcf69986d0ae683837c
tree37dc014b03d2384991055e8ccbb0d0b9b46016f2
parent2d7ba8335bbad229d481ae7c994585838e194f81
ctdb-tests: Simplify read_ctdb_public_ip_info() using new function add_ip()

Known public IPs array is now dynamically allocated instead of
allocated once with artificial size limit.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/src/ctdb_takeover_tests.c