]> jfr.im git - solanum.git/commitdiff
blacklist: fix precedence lossage
authorElizabeth Myers <redacted>
Mon, 27 Jun 2016 23:59:53 +0000 (18:59 -0500)
committerElizabeth Myers <redacted>
Tue, 28 Jun 2016 00:36:35 +0000 (19:36 -0500)
authd/providers/blacklist.c

index 8689d9aa035ac573e99efdf17e03490ae1d34197..8f0d92f9de9c089d33df14874d1b56a70a78aa83 100644 (file)
@@ -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);
        }