mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
don't send ping twice, and don't complain when ping is not answered
This commit is contained in:
parent
a18557d779
commit
87b893267c
@ -1063,13 +1063,7 @@ ipmi_lan_activate_session(struct ipmi_intf * intf)
|
||||
int rc;
|
||||
|
||||
/* don't fail on ping because its not always supported */
|
||||
rc = ipmi_lan_ping(intf);
|
||||
if (rc <= 0) {
|
||||
if (verbose > 1)
|
||||
printf("RMCP Pong : IPMI not supported!\n");
|
||||
/* send again */
|
||||
ipmi_lan_ping(intf);
|
||||
}
|
||||
ipmi_lan_ping(intf);
|
||||
|
||||
if (intf->pedantic)
|
||||
ipmi_lan_first(intf);
|
||||
|
Loading…
x
Reference in New Issue
Block a user