#471 fix bug in checking if there are OSPF router IDs to poll
This commit is contained in:
		| @@ -22,8 +22,8 @@ register_worker({ phase => 'main', driver => 'snmp' }, sub { | ||||
|   my $eigrp_peers  = $snmp->eigrp_peers || {}; | ||||
|  | ||||
|   return Status->info(" [$device] neigh - no BGP, OSPF, or EIGRP peers") | ||||
|     unless ((scalar values %$ospf_peers) or (scalar values %$bgp_peers) | ||||
|             or (scalar values %$eigrp_peers)); | ||||
|     unless ((scalar values %$ospf_peers) or (scalar values %$ospf_peer_id) | ||||
|             or (scalar values %$bgp_peers) or (scalar values %$eigrp_peers)); | ||||
|  | ||||
|   my $count = 0; | ||||
|   foreach my $ip ((values %$ospf_peers), (values %$ospf_routers), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user