From 6c789fa6c1e601fd2c28be84f22758ab4b397dcd Mon Sep 17 00:00:00 2001 From: Chris Harris Date: Thu, 23 Oct 2025 17:54:42 +0000 Subject: [PATCH] Respond with max_priv rather than priv According to 13.18 of the spec this should be the maximum privilege allowed for the session based on the security algorithms rather than the priv provided by the client. --- lanserv/lanserv_ipmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lanserv/lanserv_ipmi.c b/lanserv/lanserv_ipmi.c index b67d0808..f81b81e5 100644 --- a/lanserv/lanserv_ipmi.c +++ b/lanserv/lanserv_ipmi.c @@ -2667,7 +2667,7 @@ handle_open_session_payload(lanserv_data_t *lan, msg_t *msg) memset(data, 0, sizeof(data)); data[0] = msg->data[0]; data[1] = 0; - data[2] = priv; + data[2] = max_priv; ipmi_set_uint32(data+4, session->rem_sid); ipmi_set_uint32(data+8, session->sid); data[12] = 0;