diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-04-08 10:40:31 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-04-08 10:56:22 +0200 |
commit | 3f8b44be0a658266adff5ece1e4bc3ce097a5dbe (patch) | |
tree | 060ffb11ccd5433902b8c60c3e80dc0f140ec55d /resolv/tst-resolv-res_init-skeleton.c | |
parent | 94e358f6d490650c714edb1ffc3a52f56ffe086e (diff) | |
download | glibc-3f8b44be0a658266adff5ece1e4bc3ce097a5dbe.zip glibc-3f8b44be0a658266adff5ece1e4bc3ce097a5dbe.tar.gz glibc-3f8b44be0a658266adff5ece1e4bc3ce097a5dbe.tar.bz2 |
resolv: Remove support for RES_USE_INET6 and the inet6 option
This functionality was deprecated in glibc 2.25.
This commit only includes the core changes to remove the
functionality. It does not remove the RES_USE_INET6 handling in the
individual NSS service modules and the res_use_inet6 function.
These changes will happen in future commits.
Diffstat (limited to 'resolv/tst-resolv-res_init-skeleton.c')
-rw-r--r-- | resolv/tst-resolv-res_init-skeleton.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/resolv/tst-resolv-res_init-skeleton.c b/resolv/tst-resolv-res_init-skeleton.c index e8acebc..678f396 100644 --- a/resolv/tst-resolv-res_init-skeleton.c +++ b/resolv/tst-resolv-res_init-skeleton.c @@ -24,7 +24,6 @@ #include <errno.h> #include <gnu/lib-names.h> #include <netdb.h> -#include <resolv/resolv-internal.h> /* For DEPRECATED_RES_USE_INET6. */ #include <resolv/resolv_context.h> #include <stdio.h> #include <stdlib.h> @@ -120,7 +119,6 @@ print_resp (FILE *fp, res_state resp) if (resp->retry != RES_DFLRETRY) fprintf (fp, " attempts:%d", resp->retry); print_option_flag (fp, &options, RES_USEVC, "use-vc"); - print_option_flag (fp, &options, DEPRECATED_RES_USE_INET6, "inet6"); print_option_flag (fp, &options, RES_ROTATE, "rotate"); print_option_flag (fp, &options, RES_USE_EDNS0, "edns0"); print_option_flag (fp, &options, RES_SNGLKUP, @@ -560,7 +558,7 @@ struct test_case test_cases[] = "nameserver 192.0.2.1\n" "nameserver ::1\n" "nameserver 192.0.2.2\n", - .expected = "options ndots:3 timeout:19 attempts:5 inet6 edns0\n" + .expected = "options ndots:3 timeout:19 attempts:5 edns0\n" "search corp.example.com example.com\n" "; search[0]: corp.example.com\n" "; search[1]: example.com\n" |