mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-09 16:20:55 +00:00
Add filtering of arbitrary RR-types.
This commit is contained in:
8 files changed
+102
-90
No files matched your search
+1
-4
@@ -219,10 +219,7 @@ size_t rrfilter(struct dns_header *header, size_t *plen, int mode)
|
||||
if (class != C_IN)
|
||||
continue;
|
||||
|
||||
if (mode == RRFILTER_A && type != T_A)
|
||||
continue;
|
||||
|
||||
if (mode == RRFILTER_AAAA && type != T_AAAA)
|
||||
if (!rr_on_list(daemon->filter_rr, type))
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user