2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

1711. [func] 'rndc unfreeze' has been deprecated by 'rndc thaw'.

This commit is contained in:
Mark Andrews 2004-09-03 03:42:58 +00:00
parent ac86cff0d7
commit 817a7fb62d
4 changed files with 8 additions and 6 deletions

View File

@ -1,4 +1,4 @@
1711. [placeholder] rt12416
1711. [func] 'rndc unfreeze' has been deprecated by 'rndc thaw'.
1710. [placeholder] rt9479

View File

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: control.c,v 1.20 2004/03/22 01:46:00 marka Exp $ */
/* $Id: control.c,v 1.21 2004/09/03 03:42:58 marka Exp $ */
#include <config.h>
@ -122,7 +122,8 @@ ns_control_docommand(isccc_sexpr_t *message, isc_buffer_t *text) {
result = ns_server_status(ns_g_server, text);
} else if (command_compare(command, NS_COMMAND_FREEZE)) {
result = ns_server_freeze(ns_g_server, ISC_TRUE, command);
} else if (command_compare(command, NS_COMMAND_UNFREEZE)) {
} else if (command_compare(command, NS_COMMAND_UNFREEZE) ||
command_compare(command, NS_COMMAND_THAW)) {
result = ns_server_freeze(ns_g_server, ISC_FALSE, command);
} else if (command_compare(command, NS_COMMAND_RECURSING)) {
result = ns_server_dumprecursing(ns_g_server);

View File

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: control.h,v 1.14 2004/03/05 04:57:55 marka Exp $ */
/* $Id: control.h,v 1.15 2004/09/03 03:42:58 marka Exp $ */
#ifndef NAMED_CONTROL_H
#define NAMED_CONTROL_H 1
@ -47,6 +47,7 @@
#define NS_COMMAND_STATUS "status"
#define NS_COMMAND_FREEZE "freeze"
#define NS_COMMAND_UNFREEZE "unfreeze"
#define NS_COMMAND_THAW "thaw"
#define NS_COMMAND_TIMERPOKE "timerpoke"
#define NS_COMMAND_RECURSING "recursing"
#define NS_COMMAND_NULL "null"

View File

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: rndc.c,v 1.98 2004/07/23 04:15:23 marka Exp $ */
/* $Id: rndc.c,v 1.99 2004/09/03 03:42:58 marka Exp $ */
/*
* Principal Author: DCL
@ -102,7 +102,7 @@ command is one of the following:\n\
Retransfer a single zone without checking serial number.\n\
freeze zone [class [view]]\n\
Suspend updates to a dynamic zone.\n\
unfreeze zone [class [view]]\n\
thaw zone [class [view]]\n\
Enable updates to a frozen dynamic zone and reload it.\n\
reconfig Reload configuration file and new zones only.\n\
stats Write server statistics to the statistics file.\n\