--- nfs-utils-1.0.9/support/misc/tcpwrapper.c.orig 2006-07-07 20:04:32.000000000 -0400 +++ nfs-utils-1.0.9/support/misc/tcpwrapper.c 2008-11-12 13:18:38.358994000 -0500 @@ -124,12 +124,12 @@ struct sockaddr_in *addr; return 0; /* Check the official name first. */ - if (hosts_ctl(daemon, "", hp->h_name, "")) + if (hosts_ctl(daemon, hp->h_name, "", "")) return 1; /* Check aliases. */ for (sp = hp->h_aliases; *sp ; sp++) { - if (hosts_ctl(daemon, "", *sp, "")) + if (hosts_ctl(daemon, *sp, "", "")) return 1; }