From 0ca9c66b84a9e20a941d44314070601d7fe16aa6 Mon Sep 17 00:00:00 2001 From: Alexander Amelkin Date: Fri, 28 Dec 2018 16:33:18 +0300 Subject: [PATCH] sol: Make interface timeout obey the -N option For `sol activate` the timeout on lanplus interface was hard-coded to 1 second, overriding the value set with the `-N` option. Resolves ipmitool/ipmitool#87 Signed-off-by: Alexander Amelkin --- lib/ipmi_sol.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/ipmi_sol.c b/lib/ipmi_sol.c index e08fa9b..adf5df8 100644 --- a/lib/ipmi_sol.c +++ b/lib/ipmi_sol.c @@ -1818,9 +1818,6 @@ ipmi_sol_activate(struct ipmi_intf * intf, int looptest, int interval, (ap_rsp.payload_udp_port[1] << 8) | ap_rsp.payload_udp_port[0]; - intf->session->timeout = 1; - - /* NOTE: the spec does allow for SOL traffic to be sent on * a different port. we do not yet support that feature. */ if (intf->session->sol_data.port != intf->ssn_params.port)