ctdb-recoverd: Skip known IP address checking when it is disabled
authorMartin Schwenke <martin@meltin.net>
Mon, 9 Nov 2015 04:44:15 +0000 (15:44 +1100)
committerMartin Schwenke <martins@samba.org>
Fri, 6 May 2016 09:39:09 +0000 (11:39 +0200)
commitbdcc796f3c00aac946f3128fb27c468980b90afa
treede8577a50d621b8269efe288cebf26c2bd8d129d
parentfc4cbf552813c6742ebf25b011600530e0badfd9
ctdb-recoverd: Skip known IP address checking when it is disabled

When public IP checking is disabled, verify_local_ip_allocation()
still retrieves known IP addresses and runs through a loop that does
nothing.

Instead, completely skip the retrieval and checking loop.

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