summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog2
-rw-r--r--debian/patches/0120-Fix_Unsupported_Parameter_lookup.patch19
-rw-r--r--debian/patches/series1
3 files changed, 22 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index fe2f49e..48bf6e7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,8 @@ ipmitool (1.8.19-8) UNRELEASED; urgency=medium
+ Add debian/anacron/ipmitool_enterprise.
- debian/ipmitool.postinst:
+ Add download ipmitool_enterprise.txt.
+ * New debian/patches/0120-Fix_Unsupported_Parameter_lookup.patch:
+ - Fix error response from Unsupported Parameter lookup (Closes: #1061770).
-- Jörg Frings-Fürst <debian@jff.email> Fri, 05 Jul 2024 19:23:38 +0200
diff --git a/debian/patches/0120-Fix_Unsupported_Parameter_lookup.patch b/debian/patches/0120-Fix_Unsupported_Parameter_lookup.patch
new file mode 100644
index 0000000..6043167
--- /dev/null
+++ b/debian/patches/0120-Fix_Unsupported_Parameter_lookup.patch
@@ -0,0 +1,19 @@
+Index: trunk/lib/ipmi_lanp.c
+===================================================================
+--- trunk.orig/lib/ipmi_lanp.c
++++ trunk/lib/ipmi_lanp.c
+@@ -236,8 +236,12 @@ get_lan_param_select(struct ipmi_intf *i
+ /* 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",
diff --git a/debian/patches/series b/debian/patches/series
index 9d62f03..9d6c787 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@
0110-unpdate_IANA_URL.patch
0115-hurd_PATH_MAX.patch
0625-manpage_wrong_time_set.patch
+0120-Fix_Unsupported_Parameter_lookup.patch