chiark
/
gitweb
/
~ianmdlvl
/
adns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
64c6f70
)
adnsresfilter: Honour --checkc-freq and --checkc-entex
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 9 Dec 2016 20:38:30 +0000
(20:38 +0000)
committer
Ian 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
patch
|
blob
|
history
diff --git
a/client/adnsresfilter.c
b/client/adnsresfilter.c
index 083e51f3ddca9a5b194f1de6fc8208bc6a236be8..2303f6fe22bc46020591c62e7f9bfbc6ae5281d6 100644
(file)
--- 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")) {