+ "(must be none, entex or freq", word);
+ }
+ continue;
+ }
+ if (WORD_STARTS("adns_af:")) {
+ ads->iflags &= ~adns_if_afmask;
+ if (!WORD_IS("any")) for (;;) {
+ const char *comma= memchr(word,',',endopt-word);
+ endword=comma?comma:endopt;
+ if (WORD_IS("ipv4"))
+ ads->iflags |= adns_if_permit_ipv4;
+ else if (WORD_IS("ipv6"))
+ ads->iflags |= adns_if_permit_ipv6;
+ else {
+ if (ads->config_report_unknown)
+ adns__diag(ads,-1,0,"%s:%d: "
+ "option adns_af has bad value or entry `%.*s' "
+ "(option must be `any', or list of `ipv4',`ipv6')",
+ fn,lno, (int)(endword-word),word);
+ break;
+ }
+ if (!comma) break;
+ word= comma+1;