At 8:04 -0700 5/19/05, Roger Marquis wrote:
Laurent Frigault wrote:
 gethostbyaddr (and may be other functions) will return NULL under at
 least FreeBSD/NetBSD for ANY PTR having the "_" character.

As it should. I wish it would also return a null for hostnames containing sequential non-alphanumerics (--, ---, __, ___, ...).

If null were returned for all "host names" containing "--" then IDN names wouldn't "work." (See RFC 3490, section 5.)
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Edward Lewis +1-571-434-5468
NeuStar


If you knew what I was thinking, you'd understand what I was saying.

Reply via email to