$OpenBSD: patch-agent_mibgroup_mibII_tcpTable_c,v 1.4 2007/06/14 18:19:24 ajacoutot Exp $
--- agent/mibgroup/mibII/tcpTable.c.orig	Tue Nov  7 00:43:27 2006
+++ agent/mibgroup/mibII/tcpTable.c	Thu Jun 14 18:53:37 2007
@@ -450,7 +450,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;
 }
 
@@ -460,7 +460,7 @@ tcpTable_free(netsnmp_cache *cache, void *magic)
     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);
     }
 
@@ -803,7 +803,7 @@ tcpTable_load(netsnmp_cache *cache, void *vmagic)
             nnew->state == 8 /*  closeWait  */ )
             tcp_estab++;
 
-        entry      = nnew->INP_NEXT_SYMBOL;	/* Next kernel entry */
+        entry      = nnew->inp_next;	/* Next kernel entry */
 	nnew->inp_next = tcp_head;
 	tcp_head   = nnew;
 
