mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
string compare interface name length fix
This commit is contained in:
parent
1f7ba3dd66
commit
f874a93ccb
@ -1254,7 +1254,7 @@ ipmi_sol_activate(struct ipmi_intf * intf)
|
||||
* This command is only available over RMCP+ (the lanplus
|
||||
* interface).
|
||||
*/
|
||||
if (strncmp(intf->name, "lanplus", 12))
|
||||
if (strncmp(intf->name, "lanplus", 7))
|
||||
{
|
||||
printf("Error: This command is only available over the "
|
||||
"lanplus interface\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user