summary refs log tree commit diff
path: root/resolv/res_init.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-05-29 21:43:33 -0400
committerUlrich Drepper <drepper@gmail.com>2011-05-29 21:43:33 -0400
commit16985fd0c79ccffc105d77c9076ab0a4bb0e5714 (patch)
tree633bd2adbe8ab012dcd04b4274572eca006cca5b /resolv/res_init.c
parentc30b7ee2c3b8314c3e87ac6cab27949dbbe1f3e4 (diff)
downloadglibc-16985fd0c79ccffc105d77c9076ab0a4bb0e5714.tar.gz
glibc-16985fd0c79ccffc105d77c9076ab0a4bb0e5714.tar.xz
glibc-16985fd0c79ccffc105d77c9076ab0a4bb0e5714.zip
Recognize use-vc option in resolv.conf
Diffstat (limited to 'resolv/res_init.c')
-rw-r--r--resolv/res_init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/resolv/res_init.c b/resolv/res_init.c
index 7588432b22..2908c108b2 100644
--- a/resolv/res_init.c
+++ b/resolv/res_init.c
@@ -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? */
 		}