Blame SOURCES/net-snmp-5.7.2-udpTable-index.patch

b5ae06
Bug 1184433 - udpTable has wrong indices
b5ae06
b5ae06
commit c5c435658032c26fde69978e2610c879b3a4bcc8
b5ae06
Author: Niels Baggesen <nba@users.sourceforge.net>
b5ae06
Date:   Thu Apr 16 18:56:55 2015 +0200
b5ae06
b5ae06
    Patch #1300: Fix big endian / 64bit problem with Sparc by properly typing. Thanks to Eric Snowberg.
b5ae06
b5ae06
diff --git a/agent/mibgroup/mibII/udpTable.c b/agent/mibgroup/mibII/udpTable.c
b5ae06
index 57e967c..cc00b13 100644
b5ae06
--- a/agent/mibgroup/mibII/udpTable.c
b5ae06
+++ b/agent/mibgroup/mibII/udpTable.c
b5ae06
@@ -368,7 +368,7 @@ udpTable_next_entry( void **loop_context,
b5ae06
 {
b5ae06
     UDPTABLE_ENTRY_TYPE	 *entry = (UDPTABLE_ENTRY_TYPE *)*loop_context;
b5ae06
     long port;
b5ae06
-    long addr;
b5ae06
+    in_addr_t addr;
b5ae06
 
b5ae06
     if (!entry)
b5ae06
         return NULL;