From: Ian Jackson Date: Fri, 9 Dec 2016 20:38:30 +0000 (+0000) Subject: adnsresfilter: Honour --checkc-freq and --checkc-entex X-Git-Tag: adns-1.6.0~14 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.git;a=commitdiff_plain;h=d25ac7b2a8a226736a23bdfcf1e44c62dd79b51e adnsresfilter: Honour --checkc-freq and --checkc-entex This is mostly for debugging and fuzzing. We don't document it. Signed-off-by: Ian Jackson --- 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")) {