From 16985fd0c79ccffc105d77c9076ab0a4bb0e5714 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 29 May 2011 21:43:33 -0400 Subject: Recognize use-vc option in resolv.conf --- resolv/res_init.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'resolv') 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? */ } -- cgit 1.4.1