diff --git a/ipmitool-lan.patch b/ipmitool-lan.patch new file mode 100644 index 0000000000000000000000000000000000000000..89c13cfb6dd331a78b51f028815911810f14424c --- /dev/null +++ b/ipmitool-lan.patch @@ -0,0 +1,20 @@ +diff -Naur ipmitool-IPMITOOL_1_8_19/lib/ipmi_lanp.c ipmitool-IPMITOOL_1_8_19_fix/lib/ipmi_lanp.c +--- ipmitool-IPMITOOL_1_8_19/lib/ipmi_lanp.c 2022-09-02 02:42:31.000000000 +0800 ++++ ipmitool-IPMITOOL_1_8_19_fix/lib/ipmi_lanp.c 2025-01-21 10:36:12.102780394 +0800 +@@ -236,8 +236,14 @@ + /* We treat them as valid but empty response */ + p->data = NULL; + p->data_len = 0; +- rc = p; +- /* fall through */ ++ ++ lprintf(LOG_INFO, "Get LAN Parameter '%s' command unsupported: %s", ++ p->desc, ++ specific_val2str(rsp->ccode, ++ get_lan_cc_vals, ++ completion_code_vals)); ++ return p; ++ + default: + /* other completion codes are treated as error */ + lprintf(LOG_INFO, "Get LAN Parameter '%s' command failed: %s",