summaryrefslogtreecommitdiffstats
path: root/INF.pm
diff options
context:
space:
mode:
Diffstat (limited to 'INF.pm')
-rw-r--r--INF.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/INF.pm b/INF.pm
index 46500e4..962b15a 100644
--- a/INF.pm
+++ b/INF.pm
@@ -2,6 +2,7 @@ package INF;
use INF::APC;
use INF::DSRx020;
use INF::ILO;
+use INF::ILO2;
#$infs = [
@@ -30,9 +31,10 @@ sub new ($;$) {
}
elsif ( $inf->{inf_type} eq 'apc' ) {
return INF::APC->new($inf);
- }
- elsif ( $inf->{inf_type} eq 'ilo' ) {
+ } elsif ( $inf->{inf_type} eq 'ilo' ) {
return INF::ILO->new($inf);
+ } elsif ( $inf->{inf_type} eq 'ilo2' ) {
+ return INF::ILO2->new($inf);
}
else {
return undef;