mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-07-03 03:03:34 +00:00
remove silly check that prevented setting lan config for channels
other than 6 or 7
This commit is contained in:
@ -468,10 +468,6 @@ ipmi_lan_set(struct ipmi_intf * intf, int argc, char ** argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
chan = (unsigned char)strtol(argv[0], NULL, 0);
|
chan = (unsigned char)strtol(argv[0], NULL, 0);
|
||||||
if (chan != 0x6 && chan != 0x7) {
|
|
||||||
printf("valid LAN channels are 6 and 7\n");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* set user access */
|
/* set user access */
|
||||||
if (!strncmp(argv[1], "user", 4)) {
|
if (!strncmp(argv[1], "user", 4)) {
|
||||||
|
Reference in New Issue
Block a user