aboutsummaryrefslogtreecommitdiff
path: root/resolv/res_init.c
diff options
context:
space:
mode:
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 7588432..2908c10 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? */
}