From bbb7cc35ab214ddaaebf9c37c11f1ed182bc708d Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Fri, 9 Apr 2004 16:45:55 +0000 Subject: [PATCH] remove silly check that prevented setting lan config for channels other than 6 or 7 --- ipmitool/lib/ipmi_lanp.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ipmitool/lib/ipmi_lanp.c b/ipmitool/lib/ipmi_lanp.c index 9ba50e3..cc4feb3 100644 --- a/ipmitool/lib/ipmi_lanp.c +++ b/ipmitool/lib/ipmi_lanp.c @@ -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)) {