From aac4cc9e0542ba10cb23f317eb50005868509f7f Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Tue, 6 Sep 2005 18:37:38 +0000 Subject: [PATCH] remove constraint on table size, a size of 0 can actually mean just entry 0 is populated --- ipmitool/lib/ipmi_pef.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipmitool/lib/ipmi_pef.c b/ipmitool/lib/ipmi_pef.c index b4539f6..2f25703 100644 --- a/ipmitool/lib/ipmi_pef.c +++ b/ipmitool/lib/ipmi_pef.c @@ -285,8 +285,8 @@ ipmi_pef_print_lan_dest(struct ipmi_intf * intf, uint8_t ch, uint8_t dest) return; } tbl_size = (rsp->data[1] & PEF_LAN_DEST_TABLE_SIZE_MASK); - if (!dest || tbl_size == 0) /* LAN alerting not supported */ - return; + //if (tbl_size == 0 || dest == 0) /* LAN alerting not supported */ + // return; lsel.id = PEF_LAN_CFGPARM_ID_DESTTYPE; lsel.set = dest;