mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
ID:399 - Fixed channel getciphers command.
'channel getciphers' command uses wrong command-line argument when parsing the target channel number. This patch fixes this problem.
This commit is contained in:
parent
718a242205
commit
c56b5c9667
@ -882,7 +882,7 @@ ipmi_channel_main(struct ipmi_intf *intf, int argc, char **argv)
|
|||||||
return (-1);
|
return (-1);
|
||||||
}
|
}
|
||||||
if (argc == 3) {
|
if (argc == 3) {
|
||||||
if (is_ipmi_channel_num(argv[1], &channel) != 0) {
|
if (is_ipmi_channel_num(argv[2], &channel) != 0) {
|
||||||
return (-1);
|
return (-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user