mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
remove silly check that prevented setting lan config for channels
other than 6 or 7
This commit is contained in:
parent
7d4b1e8bee
commit
bbb7cc35ab
@ -468,10 +468,6 @@ ipmi_lan_set(struct ipmi_intf * intf, int argc, char ** argv)
|
||||
}
|
||||
|
||||
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 */
|
||||
if (!strncmp(argv[1], "user", 4)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user