Blame SOURCES/net-snmp-5.8-duplicate-ipAddress.patch

bc6b3f
diff -urNp a/agent/mibgroup/ip-mib/data_access/ipaddress_common.c b/agent/mibgroup/ip-mib/data_access/ipaddress_common.c
bc6b3f
--- a/agent/mibgroup/ip-mib/data_access/ipaddress_common.c	2020-06-10 13:27:03.213904398 +0200
bc6b3f
+++ b/agent/mibgroup/ip-mib/data_access/ipaddress_common.c	2020-06-10 13:28:41.025863050 +0200
bc6b3f
@@ -121,6 +121,7 @@ _remove_duplicates(netsnmp_container *co
bc6b3f
 	for (entry = ITERATOR_FIRST(it); entry; entry = ITERATOR_NEXT(it)) {
bc6b3f
 		if (prev_entry && _access_ipaddress_entry_compare_addr(prev_entry, entry) == 0) {
bc6b3f
 			/* 'entry' is duplicate of the previous one -> delete it */
bc6b3f
+            NETSNMP_LOGONCE((LOG_ERR, "Duplicate IPv4 address detected, some interfaces may not be visible in IP-MIB\n"));
bc6b3f
 			netsnmp_access_ipaddress_entry_free(entry);
bc6b3f
 		} else {
bc6b3f
 			CONTAINER_INSERT(ret, entry);