[PATCH phosphor-host-ipmid 2/3] ipmid: Remove assumptions about host IPMI sender objects

OpenBMC Patches openbmc-patches at stwcx.xyz
Wed Nov 25 18:20:23 AEDT 2015


From: Jeremy Kerr <jk at ozlabs.org>

Currently, the IPMI daemon will only receive messages from a specific
(arbitrary) object path that the debug daemon used.

Instead, we should be listening to any signal that matches our interface
(org.openbmc.HostIpmi.ReceivedMessage). When replying to the message,
we should be using the signal sender info to properly address the
reply method.

Signed-off-by: Jeremy Kerr <jk at ozlabs.org>
---
 ipmid.C | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/ipmid.C b/ipmid.C
index 440705c..fe989e0 100644
--- a/ipmid.C
+++ b/ipmid.C
@@ -26,10 +26,7 @@ void print_usage(void) {
   fprintf(stderr, "    mask : 0xFF - Print all trace\n");
 }
 
-
-
 const char * DBUS_INTF = "org.openbmc.HostIpmi";
-
 const char * FILTER = "type='signal',interface='org.openbmc.HostIpmi',member='ReceivedMessage'";
 
 
-- 
2.6.3




More information about the openbmc mailing list