From 8ce38ba43c5b5d3f5d4fa381d8e9142b47b0c077 Mon Sep 17 00:00:00 2001 From: "ahrenholz@gmail.com" Date: Mon, 9 Dec 2013 22:14:05 +0000 Subject: [PATCH] fix handling of service stop message (Boeing r1809) --- trunk/daemon/sbin/core-daemon | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trunk/daemon/sbin/core-daemon b/trunk/daemon/sbin/core-daemon index d74bad35..f6f93a54 100755 --- a/trunk/daemon/sbin/core-daemon +++ b/trunk/daemon/sbin/core-daemon @@ -1095,7 +1095,8 @@ class CoreRequestHandler(SocketServer.BaseRequestHandler): if self.session.master: self.warn("Unexpected event message: SHUTDOWN state received " \ "at session master") - elif eventtype in (coreapi.CORE_EVENT_START, coreapi.CORE_EVENT_RESTART, \ + elif eventtype in (coreapi.CORE_EVENT_START, coreapi.CORE_EVENT_STOP, \ + coreapi.CORE_EVENT_RESTART, \ coreapi.CORE_EVENT_RECONFIGURE): name = msg.gettlv(coreapi.CORE_TLV_EVENT_NAME) # TODO: register system for event message handlers, like confobjs