summaryrefslogtreecommitdiff
path: root/ctdb/server/ipalloc_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/server/ipalloc_common.c')
-rw-r--r--ctdb/server/ipalloc_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/server/ipalloc_common.c b/ctdb/server/ipalloc_common.c
index d961b871739..50bb59a5937 100644
--- a/ctdb/server/ipalloc_common.c
+++ b/ctdb/server/ipalloc_common.c
@@ -61,7 +61,7 @@ static bool can_node_host_ip(struct ipalloc_state *ipalloc_state,
int32_t pnn,
struct public_ip_list *ip)
{
- if (ipalloc_state->noiphost[pnn]) {
+ if (bitmap_query(ipalloc_state->noiphost, pnn)) {
return false;
}