These should never be seen outside the IP allocation code.
Signed-off-by: Martin Schwenke <martin@meltin.net>
#define NODE_FLAGS_DISABLED (NODE_FLAGS_UNHEALTHY|NODE_FLAGS_PERMANENTLY_DISABLED)
#define NODE_FLAGS_INACTIVE (NODE_FLAGS_DELETED|NODE_FLAGS_DISCONNECTED|NODE_FLAGS_BANNED|NODE_FLAGS_STOPPED)
-/* These flags are ONLY valid within the recovery daemon */
-#define NODE_FLAGS_NOIPTAKEOVER 0x01000000 /* can not takeover additional IPs */
-#define NODE_FLAGS_NOIPHOST 0x02000000 /* can not host IPs */
-
-
/*
* Node capabilities
*/
#define CTDB_ARP_INTERVAL 1
#define CTDB_ARP_REPEAT 3
+/* These flags are ONLY valid within IP allocation code and must be
+ * cleared to avoid confusing other recovery daemon functions
+ */
+#define NODE_FLAGS_NOIPTAKEOVER 0x01000000 /* can not takeover additional IPs */
+#define NODE_FLAGS_NOIPHOST 0x02000000 /* can not host IPs */
+
struct ctdb_iface {
struct ctdb_iface *prev, *next;
const char *name;