summaryrefslogtreecommitdiff
path: root/debian/patches/0120-Fix_Unsupported_Parameter_lookup.patch
blob: 6043167f49b59beb8c4f6fc5b5eaf10c4fe1d1b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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",