diff options
Diffstat (limited to 'src/lib/kadm5/alt_prof.c')
-rw-r--r-- | src/lib/kadm5/alt_prof.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/kadm5/alt_prof.c b/src/lib/kadm5/alt_prof.c index 98231ab330..6537d30257 100644 --- a/src/lib/kadm5/alt_prof.c +++ b/src/lib/kadm5/alt_prof.c @@ -897,7 +897,7 @@ kadm5_get_admin_service_name(krb5_context ctx, } memset(&hint, 0, sizeof(hint)); - hint.ai_flags = AI_CANONNAME; + hint.ai_flags = AI_CANONNAME | AI_ADDRCONFIG; err = getaddrinfo(params_out.admin_server, NULL, &hint, &ai); if (err != 0) { ret = KADM5_CANT_RESOLVE; |