From 869ccb9f5f3600cdba0a376da03afe49325b4021 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Sun, 7 Sep 2008 03:22:40 +0000 Subject: [PATCH] -Finally check for IPMIv2 support (needs test against x336) git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2089 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/ipmi.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/ipmi.pm b/xCAT-server/lib/xcat/plugins/ipmi.pm index 7acc9bc49..679c8664f 100644 --- a/xCAT-server/lib/xcat/plugins/ipmi.pm +++ b/xCAT-server/lib/xcat/plugins/ipmi.pm @@ -4232,7 +4232,7 @@ sub getchanauthcap { my @response; my $code; - @data = ($rqsa,$seqlun,0x38,0x0e,0x04); + @data = ($rqsa,$seqlun,0x38,0x8e,0x04); @rn = ($rssa,$netfun); $length = (scalar @data)+4; @@ -4266,7 +4266,7 @@ sub getchanauthcap { $channel_number=$response[21]; - if($response[22] & 0b10000000) { + if($response[22] & 0b10000000 and $response[24] & 0b00000010) { $ipmiv2=1; } if($response[22] & 0b00000100) {