aboutsummaryrefslogtreecommitdiff
path: root/resolv/res_init.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2022-06-24 18:16:41 +0200
committerFlorian Weimer <fweimer@redhat.com>2022-06-24 18:18:44 +0200
commitf282cdbe7f436c75864e5640a409a10485e9abb2 (patch)
tree82983c97f959dd19508b1ef3c89f2aa1b8e8db30 /resolv/res_init.c
parent62a321b12d0e397af88fa422db65079332f971dc (diff)
downloadglibc-f282cdbe7f436c75864e5640a409a10485e9abb2.tar.xz
glibc-f282cdbe7f436c75864e5640a409a10485e9abb2.zip
resolv: Implement no-aaaa stub resolver option
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'resolv/res_init.c')
-rw-r--r--resolv/res_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/resolv/res_init.c b/resolv/res_init.c
index cbc16ba021..2c0bea658e 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 ("no-reload"), 0, RES_NORELOAD },
{ STRnLEN ("use-vc"), 0, RES_USEVC },
{ STRnLEN ("trust-ad"), 0, RES_TRUSTAD },
+ { STRnLEN ("no-aaaa"), 0, RES_NOAAAA },
};
#define noptions (sizeof (options) / sizeof (options[0]))
for (int i = 0; i < noptions; ++i)