bug fixes after testing on a real network

This commit is contained in:
Oliver Gorwits
2017-11-13 22:08:02 +00:00
parent 840b6b4069
commit 1502ec1966
3 changed files with 5 additions and 2 deletions

View File

@@ -46,7 +46,8 @@ register_worker({ phase => 'main', driver => 'snmp' }, sub {
if (check_acl_only($device, $key)
and check_acl_only($alias, $map->{$key})) {
if ($snmp->snmp_connect_ip( $alias->alias )) {
# if ($snmp->snmp_connect_ip( $alias->alias )) { FIXME
if (App::Netdisco::Transport::SNMP->reader_for( $alias->alias )) {
$new_ip = $alias->alias;
last ALIAS;
}