Revert "When adding an ip at runtime, it might not yet have an iface assigned to...
authorMartin Schwenke <martin@meltin.net>
Fri, 29 Jul 2016 09:41:01 +0000 (19:41 +1000)
committerMartin Schwenke <martins@samba.org>
Wed, 17 Aug 2016 21:00:26 +0000 (23:00 +0200)
commit81cba9054e438faf5ba3be6fe4893ad92350bd61
tree150d0d656931982d9ef68087fac072b01ef76b11
parent162857eff164923c428b8bfe7dc3f5d110237a7f
Revert "When adding an ip at runtime, it might not yet have an iface assigned to it, so ensure that the next takover_ip call will fall through to accept the ip and add it."

This reverts commit 4136f2714578a9bc0e5632a21d287a50f9ec137a.

If the IP address is on an interface then it won't help to pretend
that it isn't.  This will simply cause a takeip event, which will fail
because the address can't be added.  Note that the IP address isn't
necessarily new - something unexpected may have happened.

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