chiark / gitweb /
adnsresfilter: Honour --checkc-freq and --checkc-entex
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 9 Dec 2016 20:38:30 +0000 (20:38 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 11 Jun 2020 15:13:02 +0000 (16:13 +0100)
This is mostly for debugging and fuzzing.  We don't document it.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
client/adnsresfilter.c

index 083e51f3ddca9a5b194f1de6fc8208bc6a236be8..2303f6fe22bc46020591c62e7f9bfbc6ae5281d6 100644 (file)
@@ -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")) {