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

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