(krb4_auth): the nat-IP address might not be realm bounded.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7554 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-12-06 17:10:13 +00:00
parent 5b9060e083
commit 4e5422097d

View File

@@ -253,7 +253,8 @@ krb4_auth(void *app_data, char *host)
struct in_addr natAddr;
if (krb_get_our_ip_for_realm(krb_realmofhost(host),
&natAddr) != KSUCCESS)
&natAddr) != KSUCCESS
&& krb_get_our_ip_for_realm(NULL, &natAddr) != KSUCCESS)
printf("Can't get address for realm %s\n",
krb_realmofhost(host));
else {