diff --git a/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c b/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c index 8743130..c9e3536 100644 --- a/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c +++ b/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c @@ -234,7 +234,7 @@ _load_v6(netsnmp_container *container, int idx_offset) #define PROCFILE "/proc/net/if_inet6" if (!(in = fopen(PROCFILE, "r"))) { - snmp_log_perror("ipaddress_linux: could not open " PROCFILE); + NETSNMP_LOGONCE((LOG_ERR, "ipaddress_linux: could not open " PROCFILE)); return -2; }