1
Index: agent/mibgroup/if-mib/ifTable/ifTable_data_access.c
2
===================================================================
3
--- net-snmp-5.4.1.orig/agent/mibgroup/if-mib/ifTable/ifTable_data_access.c (Revision 16789)
4
+++ net-snmp-5.4.1/agent/mibgroup/if-mib/ifTable/ifTable_data_access.c (Revision 16790)
7
int rc = strcmp(rowreq_ctx->data.ifName,
9
- netsnmp_assert(rc == 0);
11
+ static int logged = 0;
13
+ snmp_log(LOG_ERR, "Name of an interface changed. Such " \
14
+ "interfaces will keep its old name in IF-MIB.\n");
17
+ DEBUGMSGTL(("ifTable:access", "interface %s changed name to %s, ignoring\n",
18
+ rowreq_ctx->data.ifName, ifentry->name));