You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Presently in the snmpd.conf ERB template, ro_community and the others are all tested for 'nil' value before outputting the content - this is fine. However the way the parameters are constructed with the ENC backend and the hard coded default there is no possible way to set the variable to undef and consequently skip its output.
Can I suggest checking for both nil and size > 0 as this would allow forcefully disabling the output of those parameters?
I will issue a pull request since it is just a template change.
The text was updated successfully, but these errors were encountered:
Hi,
Presently in the snmpd.conf ERB template, ro_community and the others are all tested for 'nil' value before outputting the content - this is fine. However the way the parameters are constructed with the ENC backend and the hard coded default there is no possible way to set the variable to undef and consequently skip its output.
Can I suggest checking for both nil and size > 0 as this would allow forcefully disabling the output of those parameters?
I will issue a pull request since it is just a template change.
The text was updated successfully, but these errors were encountered: