diff options
author | Alexander Amelkin <alexander@amelkin.msk.ru> | 2018-12-28 16:33:18 +0300 |
---|---|---|
committer | Alexander Amelkin <alexander@amelkin.msk.ru> | 2018-12-28 16:33:18 +0300 |
commit | 0ca9c66b84a9e20a941d44314070601d7fe16aa6 (patch) | |
tree | d879a4921c15597b10b944530564659ec85bb118 /lib/ipmi_sol.c | |
parent | 8b6d127bb14b9ad7ef28da1fc5f8c965df2123cd (diff) | |
download | ipmitool-0ca9c66b84a9e20a941d44314070601d7fe16aa6.tar.gz |
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>
Diffstat (limited to 'lib/ipmi_sol.c')
-rw-r--r-- | lib/ipmi_sol.c | 3 |
1 files changed, 0 insertions, 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) |