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)
commit45c776958017ea7001f061842c9e0f60e4a25f23
tree5e2495351f1fef47be3e42450bed94b502d6a24d
parentd0a3822573db296e73cc897835f783c8abc084b3
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>
server/ctdb_takeover.c