Allow --cache-rr=ANY with the obvious meaning.

This commit is contained in:
Simon Kelley
2023-03-31 18:49:22 +01:00
parent 138e1e2a2d
commit c244d92d8a
2 changed files with 2 additions and 2 deletions

View File

@@ -119,7 +119,7 @@ int rr_on_list(struct rrlist *list, unsigned short rr)
{
while (list)
{
if (list->rr == rr)
if (list->rr == rr || list->rr == T_ANY)
return 1;
list = list->next;