So, what did we do by default: allow “_” in hostnames when that’s explicitly 
against standard, or not? I read the patch in the PR and couldn’t make heads or 
tails of it.

        Erik <f...@netbsd.org>



> On Oct 26, 2015, at 07:48, Christos Zoulas <chris...@netbsd.org> wrote:
> 
> Module Name:  src
> Committed By: christos
> Date:         Mon Oct 26 14:48:04 UTC 2015
> 
> Modified Files:
>       src/lib/libc/net: getaddrinfo.c
> 
> Log Message:
> PR/50367: Stefan Schaeckeler: libc resolver library does not resolve host
> names with underscores ("_"). According to resolv.conf(5) RES_NOCHECKNAME
> is on by default; well, it is and gethostbyname(3) obeys it
> (gethnamaddr.c:maybe_ok), but getaddrinfo(3) up till this commit not.
> XXX: pullup-7, pullup-6
> 
> 
> To generate a diff of this commit:
> cvs rdiff -u -r1.109 -r1.110 src/lib/libc/net/getaddrinfo.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 

Reply via email to