mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
SNMP v3 auth is no longer checked for case sensitivity + push pass v3 creds to front of queue (#9102)
* Match api code to addhost.php for v3 config order * Updated v3 auth checks for case insensitivity + docs
This commit is contained in:
committed by
Tony Murray
parent
9350b54464
commit
f2253d70fd
@@ -419,7 +419,7 @@ function add_device()
|
||||
'cryptoalgo' => mres($data['cryptoalgo']),
|
||||
);
|
||||
|
||||
array_push($config['snmp']['v3'], $v3);
|
||||
array_unshift($config['snmp']['v3'], $v3);
|
||||
$snmpver = 'v3';
|
||||
} else {
|
||||
api_error(400, 'You haven\'t specified an SNMP version to use');
|
||||
|
Reference in New Issue
Block a user