From 78a2d0d47a493ef7845c86d4a1ba3e9a77a071ff Mon Sep 17 00:00:00 2001 From: root Date: Tue, 29 Aug 2017 19:36:43 +0100 Subject: proxy support and ILOv2 support --- INF.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'INF.pm') 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; -- cgit v1.2.3