(krb4_authenticate): the NAT address might not be the one for the

relevant realm, try anyway.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7553 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-12-06 17:09:00 +00:00
parent 5473a3eaf1
commit 5b9060e083

View File

@@ -76,7 +76,8 @@ krb4_authenticate (kx_context *kc, int s)
struct in_addr natAddr;
if (krb_get_our_ip_for_realm(krb_realmofhost(kc->host),
&natAddr) == KSUCCESS)
&natAddr) == KSUCCESS
|| krb_get_our_ip_for_realm (NULL, &natAddr) == KSUCCESS)
kc->thisaddr.sin_addr = natAddr;
}
#endif