Commit 6556a2ff authored by Naoki Kambe's avatar Naoki Kambe
Browse files

[trac930] add the logging when the validation of statistics data

fails
parent 3e9189a4
......@@ -337,6 +337,10 @@ class BoB:
seq = self.cc_session.group_sendmsg(cmd, 'Stats')
self.cc_session.group_recvmsg(True, seq)
answer = isc.config.ccsession.create_answer(0)
else:
logger.fatal(BIND10_INVALID_STATISTICS_DATA);
answer = isc.config.ccsession.create_answer(
1, "specified statistics data is invalid")
elif command == "ping":
answer = isc.config.ccsession.create_answer(0, "pong")
elif command == "show_processes":
......
Supports Markdown
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