BIND 10 trac3028, updated. e15d409632ae5408531051b3164c2e2b851b214e [3028] Hide the print_settings command
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Aug 16 07:06:10 UTC 2013
The branch, trac3028 has been updated
via e15d409632ae5408531051b3164c2e2b851b214e (commit)
from 6ce7437c65b714361b3c100154af4c352859bd13 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e15d409632ae5408531051b3164c2e2b851b214e
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Fri Aug 16 09:05:10 2013 +0200
[3028] Hide the print_settings command
It is a testing command only, user is expected to examine configuration
by config show. So don't show it.
-----------------------------------------------------------------------
Summary of changes:
src/bin/cmdctl/cmdctl.py.in | 2 ++
src/bin/cmdctl/cmdctl.spec.pre.in | 5 -----
2 files changed, 2 insertions(+), 5 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/cmdctl/cmdctl.py.in b/src/bin/cmdctl/cmdctl.py.in
index 0b402fe..117db1b 100755
--- a/src/bin/cmdctl/cmdctl.py.in
+++ b/src/bin/cmdctl/cmdctl.py.in
@@ -371,6 +371,8 @@ class CommandControl():
self._serving = False
elif command == 'print_settings':
+ # This is a hidden testing command. It does nothing useful, just
+ # returns the current configuration.
answer = ccsession.create_answer(0, self._cmdctl_config_data)
else:
answer = ccsession.create_answer(1, 'unknown command: ' + command)
diff --git a/src/bin/cmdctl/cmdctl.spec.pre.in b/src/bin/cmdctl/cmdctl.spec.pre.in
index d04e2e3..87aeb11 100644
--- a/src/bin/cmdctl/cmdctl.spec.pre.in
+++ b/src/bin/cmdctl/cmdctl.spec.pre.in
@@ -24,11 +24,6 @@
],
"commands": [
{
- "command_name": "print_settings",
- "command_description": "Print some_string and some_int to stdout",
- "command_args": []
- },
- {
"command_name": "shutdown",
"command_description": "shutdown cmdctl",
"command_args": [
More information about the bind10-changes
mailing list