diff --git a/xCAT-server-2.0/lib/xcat/plugins/ipmi.pm b/xCAT-server-2.0/lib/xcat/plugins/ipmi.pm index 6048c4af8..138ceb632 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/ipmi.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/ipmi.pm @@ -2361,7 +2361,11 @@ sub eventlog { \@returnd ); $tfactor = $returnd[40]<<24 | $returnd[39]<<16 | $returnd[38]<<8 | $returnd[37]; - $tfactor -= time(); + if ($tfactor > 0x20000000) { + $tfactor -= time(); + } else { + $tfactor = 0; + } @cmd=(0x40); $error = docmd(