(krb5_sockaddr_uninteresting): don't try to call uninteresting
function if not defined by address family git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10487 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -629,7 +629,7 @@ krb5_boolean
|
||||
krb5_sockaddr_uninteresting(const struct sockaddr *sa)
|
||||
{
|
||||
struct addr_operations *a = find_af(sa->sa_family);
|
||||
if (a == NULL)
|
||||
if (a == NULL || a->uninteresting == NULL)
|
||||
return TRUE;
|
||||
return (*a->uninteresting)(sa);
|
||||
}
|
||||
|
Reference in New Issue
Block a user