diff --git a/authd/providers/blacklist.c b/authd/providers/blacklist.c index 8689d9aa..8f0d92f9 100644 --- a/authd/providers/blacklist.c +++ b/authd/providers/blacklist.c @@ -324,7 +324,7 @@ lookup_all_blacklists(struct auth_client *auth) { struct blacklist *bl = (struct blacklist *)ptr->data; - if (!bl->delete && bl->iptype & iptype) + if (!bl->delete && (bl->iptype & iptype)) initiate_blacklist_dnsquery(bl, auth); }