diff --git a/appl/test/tcp_client.c b/appl/test/tcp_client.c index 75ae5c8bc..4cc09c042 100644 --- a/appl/test/tcp_client.c +++ b/appl/test/tcp_client.c @@ -66,7 +66,7 @@ proto (int sock, const char *hostname, const char *service) status = krb5_sname_to_principal (context, hostname, service, - KRB5_NT_SRV_INST, + KRB5_NT_SRV_HST, &server); if (status) errx (1, "krb5_sname_to_principal: %s",