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

Recognize use-vc option in resolv.conf

This commit is contained in:
Ulrich Drepper
2011-05-29 21:43:33 -04:00
parent c30b7ee2c3
commit 16985fd0c7
3 changed files with 15 additions and 8 deletions

View File

@ -550,6 +550,8 @@ res_setoptions(res_state statp, const char *options, const char *source) {
!strncmp(cp, "no-tld-query",
sizeof("no-tld-query") - 1)) {
statp->options |= RES_NOTLDQUERY;
} else if (!strncmp(cp, "use-vc", sizeof("use-vc") - 1)) {
statp->options |= RES_USEVC;
} else {
/* XXX - print a warning here? */
}