$OpenBSD: patch-agent_mibgroup_mibII_tcpTable_c,v 1.2 2005/06/13 20:33:17 naddy Exp $
--- agent/mibgroup/mibII/tcpTable.c.orig	Wed Jul 21 08:26:18 2004
+++ agent/mibgroup/mibII/tcpTable.c	Mon Jun 13 22:31:56 2005
@@ -446,7 +446,7 @@ tcpTable_next_entry( void **loop_context
      * and update the loop context ready for the next one.
      */
     *data_context = (void*)entry;
-    *loop_context = (void*)entry->INP_NEXT_SYMBOL;
+    *loop_context = (void*)entry->inp_next;
     return index;
 }
 
@@ -456,7 +456,7 @@ tcpTable_free(netsnmp_cache *cache, void
     TCPTABLE_ENTRY_TYPE *p;
     while (tcp_head) {
         p = tcp_head;
-        tcp_head = tcp_head->INP_NEXT_SYMBOL;
+        tcp_head = tcp_head->inp_next;
         free(p);
     }
 
@@ -792,7 +792,7 @@ tcpTable_load(netsnmp_cache *cache, void
             nnew->state == 8 /*  closeWait  */ )
             tcp_estab++;
 
-        entry      = nnew->inp_queue.cqe_next;	/* Next kernel entry */
+        entry      = nnew->pcb.inp_queue.cqe_next; /* Next kernel entry */
 	nnew->inp_next = tcp_head;
 	tcp_head   = nnew;
 
