From d25ac7b2a8a226736a23bdfcf1e44c62dd79b51e Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 9 Dec 2016 20:38:30 +0000 Subject: [PATCH] adnsresfilter: Honour --checkc-freq and --checkc-entex This is mostly for debugging and fuzzing. We don't document it. Signed-off-by: Ian Jackson --- client/adnsresfilter.c | 4 ++++ 1 file changed, 4 insertions(+) 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")) { -- 2.30.2