File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -598,7 +598,7 @@ function automation_snmp_edit() {
598598 $ form_data .= '<td class="right"> ' . $ item ['snmp_retries ' ] . '</td> ' ;
599599 $ form_data .= '<td class="right"> ' . $ item ['max_oids ' ] . '</td> ' ;
600600 $ form_data .= '<td> ' . ($ item ['snmp_version ' ] == 3 ? $ item ['snmp_username ' ] : 'N/A ' ) . '</td> ' ;
601- $ form_data .= '<td> ' . ($ item ['snmp_version ' ] == 3 ? $ item ['snmp_password ' ] : 'N/A ' ) . '</td> ' ;
601+ $ form_data .= '<td> ' . (( $ item ['snmp_version ' ] == 3 AND $ item ['snmp_password ' ] !== '' ) ? ' ********* ' : 'N/A ' ) . '</td> ' ;
602602 $ form_data .= '<td> ' . ($ item ['snmp_version ' ] == 3 ? $ item ['snmp_auth_protocol ' ] : 'N/A ' ) . '</td> ' ;
603603 $ form_data .= '<td> ' . ($ item ['snmp_version ' ] == 3 ? $ item ['snmp_priv_passphrase ' ] : 'N/A ' ) . '</td> ' ;
604604 $ form_data .= '<td> ' . ($ item ['snmp_version ' ] == 3 ? $ item ['snmp_priv_protocol ' ] : 'N/A ' ) . '</td> ' ;
You can’t perform that action at this time.
0 commit comments