Changeset View
Changeset View
Standalone View
Standalone View
head/lib/libc/resolv/res_init.c
Show First 20 Lines • Show All 673 Lines • ▼ Show 20 Lines | #endif | ||||
} else if (!strncmp(cp, "inet6", sizeof("inet6") - 1)) { | } else if (!strncmp(cp, "inet6", sizeof("inet6") - 1)) { | ||||
statp->options |= RES_USE_INET6; | statp->options |= RES_USE_INET6; | ||||
} else if (!strncmp(cp, "insecure1", sizeof("insecure1") - 1)) { | } else if (!strncmp(cp, "insecure1", sizeof("insecure1") - 1)) { | ||||
statp->options |= RES_INSECURE1; | statp->options |= RES_INSECURE1; | ||||
} else if (!strncmp(cp, "insecure2", sizeof("insecure2") - 1)) { | } else if (!strncmp(cp, "insecure2", sizeof("insecure2") - 1)) { | ||||
statp->options |= RES_INSECURE2; | statp->options |= RES_INSECURE2; | ||||
} else if (!strncmp(cp, "rotate", sizeof("rotate") - 1)) { | } else if (!strncmp(cp, "rotate", sizeof("rotate") - 1)) { | ||||
statp->options |= RES_ROTATE; | statp->options |= RES_ROTATE; | ||||
} else if (!strncmp(cp, "usevc", sizeof("usevc") - 1)) { | |||||
statp->options |= RES_USEVC; | |||||
} else if (!strncmp(cp, "no-check-names", | } else if (!strncmp(cp, "no-check-names", | ||||
sizeof("no-check-names") - 1)) { | sizeof("no-check-names") - 1)) { | ||||
statp->options |= RES_NOCHECKNAME; | statp->options |= RES_NOCHECKNAME; | ||||
} else if (!strncmp(cp, "reload-period:", | } else if (!strncmp(cp, "reload-period:", | ||||
sizeof("reload-period:") - 1)) { | sizeof("reload-period:") - 1)) { | ||||
if (ext != NULL) { | if (ext != NULL) { | ||||
ext->reload_period = (u_short) | ext->reload_period = (u_short) | ||||
atoi(cp + sizeof("reload-period:") - 1); | atoi(cp + sizeof("reload-period:") - 1); | ||||
▲ Show 20 Lines • Show All 261 Lines • Show Last 20 Lines |