OpenIPMI-2.0.11, Function ipmi_format_msg, in file ipmi_payload.c, line 142
reads as follows:

      tmsg[pos++] = (seq << 2) | 2; /* add 2 as the SMS LUN */

Consider a SendMessage request being issued from a LAN channel.  Given such
a request, the hard-coded LUN of 2 is incorrect.  

It's interesting that line 142 is coded using LUN 2 while line 127 is coded
using LUN 0:

        tmsg[pos++] = (IPMI_APP_NETFN << 2) | 0;

It would seem that determining the correct LUN would be based on channel
from which the request originates.  It's not clear to me that such
information is available.

Any suggestions on a fix would be appreciated.

Thanks.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Openipmi-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openipmi-developer

Reply via email to