diff options
author | Ted Lemon <source@isc.org> | 2000-05-01 23:45:41 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 2000-05-01 23:45:41 +0000 |
commit | 2e987b1e466df1fb8fe8b63793ccda7509b4dae1 (patch) | |
tree | d317c44228d63098fdccc677674653954c55f345 /minires | |
parent | 0a34ddfdfe781e06b828f4df06ea276d5db0f5ef (diff) | |
download | isc-dhcp-2e987b1e466df1fb8fe8b63793ccda7509b4dae1.tar.gz |
Add a cookie identifying the zone that was found during tsig key lookup.
Diffstat (limited to 'minires')
-rw-r--r-- | minires/res_findzonecut.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/minires/res_findzonecut.c b/minires/res_findzonecut.c index 00d38d7c..0b0f93b4 100644 --- a/minires/res_findzonecut.c +++ b/minires/res_findzonecut.c @@ -1,5 +1,5 @@ #if !defined(lint) && !defined(SABER) -static const char rcsid[] = "$Id: res_findzonecut.c,v 1.4 2000/04/20 01:34:32 mellon Exp $"; +static const char rcsid[] = "$Id: res_findzonecut.c,v 1.5 2000/05/01 23:45:41 mellon Exp $"; #endif /* not lint */ /* @@ -135,7 +135,8 @@ static int do_query(res_state, const char *, ns_class, ns_type, int res_findzonecut(res_state statp, const char *dname, ns_class class, int opts, - char *zname, size_t zsize, struct in_addr *addrs, int naddrs) + char *zname, size_t zsize, struct in_addr *addrs, int naddrs, + void *zcookie) { char mname[NS_MAXDNAME]; u_long save_pfcode; @@ -151,7 +152,8 @@ res_findzonecut(res_state statp, const char *dname, ns_class class, int opts, ISC_LIST_INIT(nsrrs); DPRINTF (("look for a predefined zone statement")); - if ((n = find_cached_zone (dname, class, zname, zsize, addrs, naddrs))) + if ((n = find_cached_zone (dname, class, zname, zsize, addrs, naddrs, + zcookie))) goto done; DPRINTF(("get the soa, and see if it has enough glue")); |