Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Feb 2013 13:50:01 GMT
From:      Landon Fuller <landonf@bikemonkey.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/176093: [libc] [patch] Fix resolver support for &#39; _&#39; character in hostnames
Message-ID:  <201302151350.r1FDo1v9009996@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/176093; it has been noted by GNATS.

From: Landon Fuller <landonf@bikemonkey.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/176093: [libc] [patch] Fix resolver support for &#39;_&#39; character in hostnames
Date: Fri, 15 Feb 2013 08:39:04 -0500

 A simpler test case:
 
 #include <netinet/in.h>
 #include <resolv.h>
 
 int main (int argc, char *argv[]) {
     if (argc < 2) return 1;
     int ret = res_hnok(argv[1]);
     printf("%d\n", ret);
 }
 
 Usage:
 
 landonf:~> ./test-res_hnok gc._msdcs.example.org
 0
 
 landonf:~> ./test-res_hnok gc.msdcs.example.org 
 1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302151350.r1FDo1v9009996>