diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2026-07-06 12:23:43 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2026-07-06 12:23:43 +0000 |
| commit | 60827d7885016861dc02caa45f3ce873ad2a020e (patch) | |
| tree | 1ee2d52b581a639f9f563b32d47ff13d6f1c3a08 /lib | |
| parent | fbe0257b5613f457af42f82efb2e3bc9395d0557 (diff) | |
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/resolv/res_init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/resolv/res_init.c b/lib/libc/resolv/res_init.c index 120b30fc74f5..a9b2d5c582c8 100644 --- a/lib/libc/resolv/res_init.c +++ b/lib/libc/resolv/res_init.c @@ -746,6 +746,10 @@ res_setoptions(res_state statp, const char *options, const char *source) #ifdef DEBUG printf(";;\tdebug\n"); #endif + } else if (res_match(cp, ep, "no-debug")) { + statp->options &= ~RES_DEBUG; + } else if (res_match(cp, ep, "no-rotate")) { + statp->options &= ~RES_ROTATE; } else if (res_match(cp, ep, "no-tld-query") || res_match(cp, ep, "no_tld_query")) { statp->options |= RES_NOTLDQUERY; |
