From 8663e8529296005d3d5813267a4b4038714a43b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Mon, 4 Apr 2005 12:04:41 +0000 Subject: [PATCH] (krb5_address_prefixlen_boundary,krb5_free_address): use find_atype when we are dealing with a kerberos address type git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14726 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/addr_families.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/krb5/addr_families.c b/lib/krb5/addr_families.c index 906d02440..e0ef10e8b 100644 --- a/lib/krb5/addr_families.c +++ b/lib/krb5/addr_families.c @@ -1008,7 +1008,7 @@ krb5_error_code KRB5_LIB_FUNCTION krb5_free_address(krb5_context context, krb5_address *address) { - struct addr_operations *a = find_af (address->addr_type); + struct addr_operations *a = find_atype (address->addr_type); if(a != NULL && a->free_addr != NULL) return (*a->free_addr)(context, address); krb5_data_free (&address->address); @@ -1147,7 +1147,7 @@ krb5_address_prefixlen_boundary(krb5_context context, krb5_address *low, krb5_address *high) { - struct addr_operations *a = find_af (inaddr->addr_type); + struct addr_operations *a = find_atype (inaddr->addr_type); if(a != NULL && a->mask_boundary != NULL) return (*a->mask_boundary)(context, inaddr, prefixlen, low, high); krb5_set_error_string(context, "Address family %d doesn't support "