From 7f7ea7c5ae948d91c56f4ddd43d085707d122c0d Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 3 May 2011 15:23:30 +0000 Subject: [PATCH] Fix BPET5B and similar firmware git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9475 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/blade.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/blade.pm b/xCAT-server/lib/xcat/plugins/blade.pm index c4c6f952d..c174ddca6 100644 --- a/xCAT-server/lib/xcat/plugins/blade.pm +++ b/xCAT-server/lib/xcat/plugins/blade.pm @@ -3835,8 +3835,8 @@ sub sshcfg { my ($line) = grep(/Build ID:\s+\S+/, @data); # Minumum firmware version BPET32 required for SSH - $line =~ /(\d+)/; - if ($1 < 32) { + $line =~ /(\d.)/; + if (hex($1) < hex(32)) { return([1,"SSH supported on AMM with minimum firmware BPET32"]); }