Zdenek,

To answer your questions, I did test the patch and it does resolve the 
problem.
I just now fixed up the indentation on the return statement.
As Andy pointed out, -t is used to specify a one byte IPMI slave address 
so the parsing
of the -t argument is correct.

-- Jim Mankovich | jm...@hp.com --


On 2/16/2012 6:53 AM, Zdenek Styblik wrote:
> On Wed, Feb 15, 2012 at 7:12 PM, Jim Mank<jm...@hp.com>  wrote:
>> All,
> [...]
>> I've attached a patch with does resolve the "Close Session command failure"
>> for lanplus.
>> Please let me know if I correctly characterized the problem and applied a
>> correct solution.
>>
> I don't know about this issue(without looking at it further), but
> indentations in the first part of attached file are wrong :)
> I presume you've tested attached patch.
>
> btw looking at 'lib/ipmi_main.c':
>
> ---
>       uint8_t target_addr = 0;
>       [...]
>               case 't':
>                       if (str2uchar(optarg,&target_addr) != 0) {
>                               lprintf(LOG_ERR, "Invalid parameter given or 
> out of range for '-t'.");
>                               rc = -1;
>                               goto out_free;
>                       }
>                       break;
>       [...]
>               ipmi_main_intf->target_addr = target_addr;
>       [...]
> ---
>
> I presume '-t' should accept either FQDN or IP address, thus lines
> above are wrong, aren't they? Or is it a hex as in case of '-m'?
>
> Thanks,
> Z.
>
>> -- Jim Mankovich | jm...@hp.com --
>>
>>
>> ------------------------------------------------------------------------------
>> Virtualization&  Cloud Management Using Capacity Planning
>> Cloud computing makes use of virtualization - but cloud computing
>> also focuses on allowing computing to be delivered as a service.
>> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>> _______________________________________________
>> Ipmitool-devel mailing list
>> Ipmitool-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/ipmitool-devel
>>

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to