(res_setioptions): Recognize ip6-bytestring.
authordrepper <drepper>
Thu, 15 Jan 2004 09:44:18 +0000 (09:44 +0000)
committerdrepper <drepper>
Thu, 15 Jan 2004 09:44:18 +0000 (09:44 +0000)
resolv/res_init.c

index e563dcf..cbab7ca 100644 (file)
@@ -489,6 +489,9 @@ res_setoptions(res_state statp, const char *options, const char *source) {
 #endif
                } else if (!strncmp(cp, "inet6", sizeof("inet6") - 1)) {
                        statp->options |= RES_USE_INET6;
+               } else if (!strncmp(cp, "ip6-bytestring",
+                                   sizeof("ip6-bytestring") - 1)) {
+                       statp->options |= RES_USEBSTRING;
                } else if (!strncmp(cp, "rotate", sizeof("rotate") - 1)) {
                        statp->options |= RES_ROTATE;
                } else if (!strncmp(cp, "no-check-names",