Change logging on ia_addr message

Message about error with subcontainers is just debug, not a filtered by
keyword debug. This (along with logging options set to high in the init 
script) made snmpd very chatty.
Origin: upstream, http://sourceforge.net/p/net-snmp/patches/1322/
Bug-Debian: https://bugs.debian.org/684721
Reviewed-by: Craig Small <csmall@debian.org>
Last-Update: 2019-10-10

Gbp-Pq: Name snmplib_error_subcontainer
This commit is contained in:
Pik Master 2022-06-27 15:01:27 +08:00 committed by Lu zhiping
parent ee89d11176
commit a7a4ddc4d3
1 changed files with 2 additions and 2 deletions

View File

@ -334,8 +334,8 @@ int CONTAINER_INSERT_HELPER(netsnmp_container* x, const void* k)
if(x) {
int rc = x->insert(x,k);
if(rc)
snmp_log(LOG_DEBUG,"error on subcontainer '%s' insert (%d)\n",
x->container_name ? x->container_name : "", rc);
DEBUGMSGTL(("container:insert_helper", "error on subcontainer '%s' insert (%d)\n",
x->container_name ? x->container_name : "", rc));
else {
rc = CONTAINER_INSERT_HELPER(x->next, k);
if(rc)