Skip to content

Commit

Permalink
Don't inhibit /etc/services matches
Browse files Browse the repository at this point in the history
  • Loading branch information
nicowilliams committed Nov 10, 2016
1 parent 6a68376 commit 13cb3b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/krb5/krbhst.c
Expand Up @@ -428,7 +428,7 @@ krb5_krbhst_get_addrinfo(krb5_context context, krb5_krbhst_info *host,
* systems. So we want to try it twice.
*/

hints.ai_flags &= ~(AI_NUMERICHOST);
hints.ai_flags &= ~(AI_NUMERICHOST | AI_NUMERICSERV);

if (strchr(hostname, '.') && hostname[strlen(hostname) - 1] != '.') {
ret = asprintf(&hostname, "%s.", host->hostname);
Expand Down

0 comments on commit 13cb3b5

Please sign in to comment.