Merge branch 'master' into og-api-tokens-simple
This commit is contained in:
@@ -4,7 +4,7 @@ use strict;
|
||||
use warnings;
|
||||
use 5.010_000;
|
||||
|
||||
our $VERSION = '2.041001';
|
||||
our $VERSION = '2.042000';
|
||||
use App::Netdisco::Configuration;
|
||||
|
||||
=head1 NAME
|
||||
|
||||
@@ -33,7 +33,7 @@ config changes over time. Returns a list which can replace C<device_auth>.
|
||||
=cut
|
||||
|
||||
sub fixup_device_auth {
|
||||
my $config = (setting('snmp_auth') || setting('device_auth'));
|
||||
my $config = (setting('device_auth') || setting('snmp_auth'));
|
||||
my @new_stanzas = ();
|
||||
|
||||
# new style snmp config
|
||||
|
||||
@@ -42,7 +42,8 @@ service status for addresses which responded.
|
||||
sub nbtstat_resolve_async {
|
||||
my $ips = shift;
|
||||
|
||||
my $timeout = setting('nbtstat_response_timeout') || 1;
|
||||
my $timeout = (setting('nbtstat_response_timeout')
|
||||
|| setting('nbtstat_timeout') || 1);
|
||||
my $interval = setting('nbtstat_interval') || 0.02;
|
||||
|
||||
my $stater = App::Netdisco::AnyEvent::Nbtstat->new(
|
||||
|
||||
Reference in New Issue
Block a user