summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2024-07-05 20:16:44 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2024-07-05 20:16:44 +0200
commit0583bbacb32277906ec21a9d4efa112bbc9c45a4 (patch)
tree4a2db697d00758bd9f0081c3b329534b6bda91b1
parent656b688f3965735785626c5a43ecac4f954a1eae (diff)
New debian/patches/0120-Fix_Unsupported_Parameter_lookup.patch
-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