Commit e5139273 authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

Assert that we don't give REQ bans to the ban lurker to test against.

parent 26c28159
......@@ -174,6 +174,7 @@ ban_lurker_test_ban(struct worker *wrk, struct vsl_log *vsl, struct ban *bt,
VTAILQ_REMOVE(obans, bl, l_list);
continue;
}
AZ(bl->flags & BANS_FLAG_REQ);
tests = 0;
i = ban_evaluate(wrk, bl->spec, oc, NULL, &tests);
VSC_C_main->bans_lurker_tested++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment