Ipmi.pm does not load Net::IP at the right place
Bug #1159742 reported by
Terje Marthinussen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OCS Inventory: Unified Unix Agent |
Fix Released
|
Low
|
Frank |
Bug Description
[Mon Mar 25 19:18:45 2013][debug] Running Ocsinventory:
[Mon Mar 25 19:18:46 2013][debug] runWithTimeout(): unexpected error: Undefined subroutine &Ocsinventory:
from Ipmi.pm:
my $binip = &ip_iptobin ($ipaddress, 4);
my $binmask = &ip_iptobin ($ipmask, 4);
my $binsubnet = $binip & $binmask;
if (can_load("Net::IP qw(:PROC)")) {
$ipsubnet = ip_bintoip(
}
Net::IP needs to be loaded before the ip_iptobin part?
Changed in ocsinventory-unix-agent: | |
assignee: | nobody → mortheres (mortheres) |
importance: | Undecided → Medium |
Changed in ocsinventory-unix-agent: | |
status: | New → Fix Committed |
assignee: | mortheres (mortheres) → Frank (frank-bourdeau) |
importance: | Medium → Low |
Changed in ocsinventory-unix-agent: | |
milestone: | none → 2.2rc1 |
Changed in ocsinventory-unix-agent: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi
Have you always this problem?
Please let us know.
Regards