mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
resolv: Remove RES_USEBSTRING and its implementation [BZ #20629]
In ns_name_ntop, the NS_CMPRSFLGS check is no longer needed because labellen (called earlier) already rejects everything which is not a plain label (compression references and extended label types).
This commit is contained in:
@ -438,7 +438,6 @@ res_setoptions(res_state statp, const char *options, const char *source) {
|
||||
} options[] = {
|
||||
#define STRnLEN(str) str, sizeof (str) - 1
|
||||
{ STRnLEN ("inet6"), 0, RES_USE_INET6 },
|
||||
{ STRnLEN ("ip6-bytestring"), 0, RES_USEBSTRING },
|
||||
{ STRnLEN ("rotate"), 0, RES_ROTATE },
|
||||
{ STRnLEN ("edns0"), 0, RES_USE_EDNS0 },
|
||||
{ STRnLEN ("single-request-reopen"), 0, RES_SNGLKUPREOP },
|
||||
|
Reference in New Issue
Block a user