(res_setoptions): Handle no-ip6-dotint option.
authordrepper <drepper>
Mon, 28 Jun 2004 01:27:35 +0000 (01:27 +0000)
committerdrepper <drepper>
Mon, 28 Jun 2004 01:27:35 +0000 (01:27 +0000)
resolv/res_init.c

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