diff options
author | Florian Weimer <fweimer@redhat.com> | 2024-07-24 12:06:47 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2024-07-24 12:10:37 +0200 |
commit | 765325951ac5c7d072278c9424930b29657e9758 (patch) | |
tree | b4ad5f5ed63cf52e6038493c8d8716f6218ac2d5 /resolv/res_init.c | |
parent | 95f61610f3e481d191b6184432342236fd59186d (diff) | |
download | glibc-765325951ac5c7d072278c9424930b29657e9758.tar.gz glibc-765325951ac5c7d072278c9424930b29657e9758.tar.xz glibc-765325951ac5c7d072278c9424930b29657e9758.zip |
resolv: Implement strict-error stub resolver option (bug 27929)
For now, do not enable this mode by default due to the potential impact on compatibility with existing deployments. Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'resolv/res_init.c')
-rw-r--r-- | resolv/res_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/resolv/res_init.c b/resolv/res_init.c index 243532b3ad..b838dc7064 100644 --- a/resolv/res_init.c +++ b/resolv/res_init.c @@ -695,6 +695,7 @@ res_setoptions (struct resolv_conf_parser *parser, const char *options) { STRnLEN ("use-vc"), RES_USEVC }, { STRnLEN ("trust-ad"), RES_TRUSTAD }, { STRnLEN ("no-aaaa"), RES_NOAAAA }, + { STRnLEN ("strict-error"), RES_STRICTERR }, }; #define noptions (sizeof (options) / sizeof (options[0])) bool negate_option = *cp == '-'; |