From: Arran Cudbard-Bell Date: Sat, 30 Oct 2021 22:10:04 +0000 (-0400) Subject: Disable reverse lookups too X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65a9926dadfe091889ca1856d865d7290158b60b;p=thirdparty%2Ffreeradius-server.git Disable reverse lookups too --- diff --git a/src/bin/fuzzer.c b/src/bin/fuzzer.c index ea95e7e6c26..2bcde981ec3 100644 --- a/src/bin/fuzzer.c +++ b/src/bin/fuzzer.c @@ -159,7 +159,7 @@ int LLVMFuzzerInitialize(int *argc, char ***argv) * queries, and there's no chance of spurious failures if * it takes a long time to get a response. */ - fr_hostname_lookups = false; + fr_hostname_lookups = fr_reverse_lookups = false; dl_loader = dl_loader_init(NULL, NULL, 0, false); if (!dl_loader) { diff --git a/src/bin/unit_test_module.c b/src/bin/unit_test_module.c index f830e025ff3..7945e4d9045 100644 --- a/src/bin/unit_test_module.c +++ b/src/bin/unit_test_module.c @@ -558,7 +558,7 @@ int main(int argc, char *argv[]) /* * The tests should have only IPs, not host names. */ - fr_hostname_lookups = false; + fr_hostname_lookups = fr_reverse_lookups = false; /* * We always log to stdout.