Commit 651d6c4f authored by Weibin Sun's avatar Weibin Sun

add apcon device init into snmpit_stack.pm

parent a2a19bcb
...@@ -1427,6 +1427,12 @@ sub snap($) { ...@@ -1427,6 +1427,12 @@ sub snap($) {
$device = new snmpit_hp($devicename,$self->{DEBUG}); $device = new snmpit_hp($devicename,$self->{DEBUG});
last; last;
}; # /hp.*/ }; # /hp.*/
(/apcon/)
&& do {
use snmpit_apcon;
$device = new snmpit_apcon($devicename,$self->{DEBUG});
last;
}; # /apcon.*/
print "Device $devicename is not of a known type\n"; print "Device $devicename is not of a known type\n";
} }
if (!$device) { if (!$device) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment