]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[master] fixed rndc stop -p
authorEvan Hunt <each@isc.org>
Wed, 20 Jan 2016 17:53:26 +0000 (09:53 -0800)
committerEvan Hunt <each@isc.org>
Wed, 20 Jan 2016 17:53:26 +0000 (09:53 -0800)
4294. [bug] Fixed a regression in which "rndc stop -p" failed
to print the PID. [RT #41513]

CHANGES
bin/named/control.c

diff --git a/CHANGES b/CHANGES
index 64ac3395e22a81a4e0720b6270bbf2601774c0e6..806a118684c713c265632d1ccbbe6915a02fcc3e 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+4294.  [bug]           Fixed a regression in which "rndc stop -p" failed
+                       to print the PID. [RT #41513]
+
 4293.  [bug]           Address memory leak on priming query creation failure.
                        [RT #41512]
 
index e4347161ebb7fba0ee75a97131190a414f970020..57dc8445ed318177f6996297c1df52a74d8ee0bd 100644 (file)
@@ -191,7 +191,7 @@ ns_control_docommand(isccc_sexpr_t *message, isc_boolean_t readonly,
 #endif
                /* Do not flush master files */
                ns_server_flushonshutdown(ns_g_server, ISC_FALSE);
-               ns_os_shutdownmsg(command, *text);
+               ns_os_shutdownmsg(cmdline, *text);
                isc_app_shutdown();
                result = ISC_R_SUCCESS;
        } else if (command_compare(command, NS_COMMAND_STOP)) {
@@ -208,7 +208,7 @@ ns_control_docommand(isccc_sexpr_t *message, isc_boolean_t readonly,
                        ns_smf_want_disable = 1;
 #endif
                ns_server_flushonshutdown(ns_g_server, ISC_TRUE);
-               ns_os_shutdownmsg(command, *text);
+               ns_os_shutdownmsg(cmdline, *text);
                isc_app_shutdown();
                result = ISC_R_SUCCESS;
        } else if (command_compare(command, NS_COMMAND_DUMPSTATS)) {