mirror of
https://github.com/Cacti/cacti.git
synced 2026-11-21 12:13:37 +09:00
Max OID's was being shown in case 0
This commit is contained in:
1 parent
26062762f1
commit
03e34018d4
1 file changed
+3
@@ -2552,6 +2552,7 @@ function setSNMP() {
|
||||
$('#row_snmp_context').hide();
|
||||
$('#row_snmp_port').hide();
|
||||
$('#row_snmp_timeout').hide();
|
||||
$('#row_max_oids').hide();
|
||||
|
||||
break;
|
||||
case '1': // SNMP v1
|
||||
@@ -2568,6 +2569,7 @@ function setSNMP() {
|
||||
$('#row_snmp_context').hide();
|
||||
$('#row_snmp_port').show();
|
||||
$('#row_snmp_timeout').show();
|
||||
$('#row_max_oids').show();
|
||||
|
||||
break;
|
||||
case '3': // SNMP v3
|
||||
@@ -2583,6 +2585,7 @@ function setSNMP() {
|
||||
$('#row_snmp_context').show();
|
||||
$('#row_snmp_port').show();
|
||||
$('#row_snmp_timeout').show();
|
||||
$('#row_max_oids').show();
|
||||
|
||||
if ($('#snmp_security_level').val() == 'noAuthNoPriv') {
|
||||
if ($('#snmp_auth_protocol').val() != '[None]') {
|
||||
|
||||
Reference in new issue
Block a user