]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1572. [bug] nsupdate: sign the soa query to find the enclosing
authorMark Andrews <marka@isc.org>
Wed, 3 Mar 2004 22:55:58 +0000 (22:55 +0000)
committerMark Andrews <marka@isc.org>
Wed, 3 Mar 2004 22:55:58 +0000 (22:55 +0000)
                        zone if the server is specified. [RT #10148]

CHANGES
bin/nsupdate/nsupdate.c

diff --git a/CHANGES b/CHANGES
index f3557a23c4bd0355b36c8d3d2c63da148d7d309a..a87dfde97a1567c3e18a9db16579ad7bec9fbbc7 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -14,6 +14,9 @@
                        "make install DESTDIR=/xx" works with
                        "configure --with-libtool".  [RT #9941]
 
+1572.  [bug]           nsupdate: sign the soa query to find the enclosing
+                       zone if the server is specified. [RT #10148]
+
 1571.  [bug]           rbt:hash_node() could fail leaving the hash table
                        in an inconsistant state.  [RT #10208]
 
index 85a026d5c8dead8802e7387bb4da7159b8d0cc21..e900a15a0b682c11717255b4d50fe4d8b4c28dcd 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: nsupdate.c,v 1.103.2.16 2004/03/02 00:58:11 marka Exp $ */
+/* $Id: nsupdate.c,v 1.103.2.17 2004/03/03 22:55:58 marka Exp $ */
 
 #include <config.h>
 
@@ -1706,8 +1706,9 @@ sendrequest(isc_sockaddr_t *srcaddr, isc_sockaddr_t *destaddr,
                fatal("out of memory");
        reqinfo->msg = msg;
        reqinfo->addr = destaddr;
-       result = dns_request_createvia(requestmgr, msg, srcaddr, destaddr,
-                                      0, NULL, FIND_TIMEOUT, global_task,
+       result = dns_request_createvia(requestmgr, msg, srcaddr, destaddr, 0,
+                                      (userserver != NULL) ? key : NULL,
+                                      FIND_TIMEOUT, global_task,
                                       recvsoa, reqinfo, request);
        check_result(result, "dns_request_createvia");
        requests++;