Follow-up Comment #4, bug #38781 (project freeipmi):

Here's the patch (another one-liner):

Index: libfreeipmi/api/ipmi-lan-session-common.c
===================================================================
--- libfreeipmi/api/ipmi-lan-session-common.c   (revision 9608)
+++ libfreeipmi/api/ipmi-lan-session-common.c   (working copy)
@@ -2304,7 +2304,10 @@

   do
     {
-      ret = ipmi_lan_sendto (ctx->io.outofband.sockfd,
+      /* bug #38781 fix:
+         Do not use ipmi_lan_sendto() for RMCP+ packets as the "Legacy Pad"
byte added by that function
+         is not needed or allowed with IPMI 2.0/RMCP+ */
+      ret = sendto (ctx->io.outofband.sockfd,
                              pkt,
                              send_len,
                              0,


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38781>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Freeipmi-devel mailing list
Freeipmi-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/freeipmi-devel

Reply via email to