1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

resolv: Deprecate the "inet6" option and RES_USE_INET6 [BZ #19582]

This commit is contained in:
Florian Weimer
2016-10-04 11:52:10 +02:00
parent 5840c75c2d
commit b76e065991
17 changed files with 133 additions and 62 deletions

View File

@ -66,7 +66,7 @@
#include <ctype.h>
#include <netdb.h>
#include <resolv.h>
#include <resolv/resolv-internal.h>
#include <stdio.h>
#include <stdio_ext.h>
#include <stdlib.h>
@ -437,7 +437,7 @@ res_setoptions(res_state statp, const char *options, const char *source) {
unsigned long int flag;
} options[] = {
#define STRnLEN(str) str, sizeof (str) - 1
{ STRnLEN ("inet6"), 0, RES_USE_INET6 },
{ STRnLEN ("inet6"), 0, DEPRECATED_RES_USE_INET6 },
{ STRnLEN ("rotate"), 0, RES_ROTATE },
{ STRnLEN ("edns0"), 0, RES_USE_EDNS0 },
{ STRnLEN ("single-request-reopen"), 0, RES_SNGLKUPREOP },