mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
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 <alexander@amelkin.msk.ru>
This commit is contained in:
parent
8b6d127bb1
commit
0ca9c66b84
@ -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[1] << 8) |
|
||||||
ap_rsp.payload_udp_port[0];
|
ap_rsp.payload_udp_port[0];
|
||||||
|
|
||||||
intf->session->timeout = 1;
|
|
||||||
|
|
||||||
|
|
||||||
/* NOTE: the spec does allow for SOL traffic to be sent on
|
/* NOTE: the spec does allow for SOL traffic to be sent on
|
||||||
* a different port. we do not yet support that feature. */
|
* a different port. we do not yet support that feature. */
|
||||||
if (intf->session->sol_data.port != intf->ssn_params.port)
|
if (intf->session->sol_data.port != intf->ssn_params.port)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user