1270. [func] Nsupdate will report the address the update was
sent to.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
1270. [func] Nsupdate will report the address the update was
|
||||
sent to.
|
||||
|
||||
1269. [bug] Missing masters clause was not handled gracefully.
|
||||
[RT #2703]
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: nsupdate.c,v 1.117 2002/02/20 03:33:37 marka Exp $ */
|
||||
/* $Id: nsupdate.c,v 1.118 2002/04/18 00:22:17 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -1465,6 +1465,12 @@ send_update(dns_name_t *zonename, isc_sockaddr_t *master,
|
||||
result = dns_message_setsig0key(updatemsg, sig0key);
|
||||
check_result(result, "dns_message_setsig0key");
|
||||
}
|
||||
if (debugging) {
|
||||
char addrbuf[ISC_SOCKADDR_FORMATSIZE];
|
||||
|
||||
isc_sockaddr_format(master, addrbuf, sizeof(addrbuf));
|
||||
fprintf(stderr, "Sending update to %s\n", addrbuf);
|
||||
}
|
||||
result = dns_request_createvia(requestmgr, updatemsg, srcaddr,
|
||||
master, options, tsigkey,
|
||||
FIND_TIMEOUT, global_task,
|
||||
|
||||
Reference in New Issue
Block a user