From 616ed567bcdb53ebba810a72f95c703fbbfaddf9 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Sun, 17 Mar 2019 09:00:05 +0000 Subject: [PATCH] make legacy config snmp_auth less interesting than device_auth --- lib/App/Netdisco/Util/DeviceAuth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/App/Netdisco/Util/DeviceAuth.pm b/lib/App/Netdisco/Util/DeviceAuth.pm index 31f68472..9c4f4c11 100644 --- a/lib/App/Netdisco/Util/DeviceAuth.pm +++ b/lib/App/Netdisco/Util/DeviceAuth.pm @@ -33,7 +33,7 @@ config changes over time. Returns a list which can replace C. =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