Commit f14c7b5c authored by Jelte Jansen's avatar Jelte Jansen
Browse files

shutdown is common enough to make a standard fixed name for it

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent e64a8acc
......@@ -89,6 +89,7 @@ COMMAND_GET_CONFIG = "get_config"
COMMAND_SET_CONFIG = "set_config"
COMMAND_GET_MODULE_SPEC = "get_module_spec"
COMMAND_MODULE_SPEC = "module_spec"
def parse_command(msg):
"""Parses what may be a command message. If it looks like one,
......@@ -325,7 +325,7 @@ class ConfigManager:
answer = self._handle_get_config(arg)
elif cmd == isc.config.ccsession.COMMAND_SET_CONFIG:
answer = self._handle_set_config(arg)
elif cmd == "shutdown":
elif cmd == isc.config.ccsession.COMMAND_SHUTDOWN:
# TODO: logging
#print("[b10-cfgmgr] Received shutdown command")
self.running = False
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment