On Thu, Apr 23, 2020 at 10:34:39AM -0600, Theo de Raadt wrote: > It says the keyword gets parsed, but then does performs no action. > > But that is different from not parsing it. > > Additionally, this explains an option which other systems support, and > by explaining it this way, it is also explaining our behaviour in case > of inet6 vs inet4 conditions. > > So... I think it should stay. Eric, do you have an opinion?
The doc lies because the inet6 option does not set the RES_USE_INET6 flag as stated. I think we should leave the entry in the doc but fix the wording to say it's there for historical reasons and does nothing. If we want to resurrect that option at some point, maybe we can consider making it set the RES_USE_INET6 flag but that feels like a bad idea right now, and this flag is apparently deprecated. But we should also fix the manpage for res_init(3) as the description of the flag is wrong too. Eric.