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

9a6c41
diff -urNp old/agent/mibgroup/ip-mib/data_access/ipaddress_common.c new/agent/mibgroup/ip-mib/data_access/ipaddress_common.c
9a6c41
--- old/agent/mibgroup/ip-mib/data_access/ipaddress_common.c	2017-04-26 08:46:40.272404217 +0200
9a6c41
+++ new/agent/mibgroup/ip-mib/data_access/ipaddress_common.c	2017-04-26 08:50:30.681323779 +0200
9a6c41
@@ -144,6 +144,7 @@ _remove_duplicates(netsnmp_container *co
9a6c41
        for (entry = ITERATOR_FIRST(it); entry; entry = ITERATOR_NEXT(it)) {
9a6c41
                if (prev_entry && _access_ipaddress_entry_compare_addr(prev_entry, entry) == 0) {
9a6c41
                        /* 'entry' is duplicate of the previous one -> delete it */
9a6c41
+                       NETSNMP_LOGONCE((LOG_ERR, "Duplicate IPv4 address detected, some interfaces may not be visible in IP-MIB\n"));
9a6c41
                        netsnmp_access_ipaddress_entry_free(entry);
9a6c41
                } else {
9a6c41
                        CONTAINER_INSERT(ret, entry);