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

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