summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2016-12-09 20:38:30 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2020-06-11 16:13:02 +0100
commitd25ac7b2a8a226736a23bdfcf1e44c62dd79b51e (patch)
tree116cc08a168f0c528d9ade32a8c0bcccf270d95e
parent64c6f70822df876c4159113a345ea14a66943279 (diff)
adnsresfilter: Honour --checkc-freq and --checkc-entex
This is mostly for debugging and fuzzing. We don't document it. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rw-r--r--client/adnsresfilter.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/adnsresfilter.c b/client/adnsresfilter.c
index 083e51f..2303f6f 100644
--- a/client/adnsresfilter.c
+++ b/client/adnsresfilter.c
@@ -171,6 +171,10 @@ static void parseargs(const char *const *argv) {
config_text= arg;
} else if (!strcmp(arg,"--debug")) {
initflags |= adns_if_debug;
+ } else if (!strcmp(arg,"--checkc-freq")) {
+ initflags |= adns_if_checkc_freq;
+ } else if (!strcmp(arg,"--checkc-entex")) {
+ initflags |= adns_if_checkc_entex;
} else if (!strcmp(arg,"--help")) {
usage(); quitnow(0);
} else if (!strcmp(arg,"--version")) {