recoverd: Clear IP flags after IP allocation algorithm has run
authorMartin Schwenke <martin@meltin.net>
Thu, 9 May 2013 02:51:57 +0000 (12:51 +1000)
committerMartin Schwenke <martin@meltin.net>
Thu, 9 May 2013 02:55:42 +0000 (12:55 +1000)
commit50f19b5bd4174d6151b053fbf19d237ca1471ead
treeb7a4e592050cc9d10f616e69664a8f571501ba52
parent530020d83b9a672a2a3b9edc96aee0b8793b8750
recoverd: Clear IP flags after IP allocation algorithm has run

If these flags are left set they will confuse other recovery daemon
code.

Factor the clearing code into new function clear_ipflags().

Signed-off-by: Martin Schwenke <martin@meltin.net>
Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>

(This used to be ctdb commit 45c776958017ea7001f061842c9e0f60e4a25f23)
ctdb/server/ctdb_takeover.c