Re: tunnel.c won't compile in 5.4

Robert Story <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Mon, 27 Nov 2006 11:37:46 -0800 Daniel wrote:
DL> I encountered the following error compiling 5.4 (tunnel.c from agent/mibgroup):
DL> 
DL> mibgroup/tunnel/tunnel.c: In function `getType':
DL> mibgroup/tunnel/tunnel.c:241: error: structure has no member named `ifType'

Try this patch...

Index: agent/mibgroup/tunnel/tunnel.c
===================================================================
RCS file: /cvsroot/net-snmp/net-snmp/agent/mibgroup/tunnel/tunnel.c,v
retrieving revision 5.6
diff -u -p -r5.6 tunnel.c
--- agent/mibgroup/tunnel/tunnel.c      17 Feb 2006 15:14:28 -0000      5.6
+++ agent/mibgroup/tunnel/tunnel.c      27 Nov 2006 21:56:01 -0000
@@ -77,6 +77,7 @@

 #ifdef USING_IF_MIB_IFTABLE_IFTABLE_MODULE
 #include "if-mib/ifTable/ifTable.h"
+#include "if-mib/ifTable/ifTable_defs.h"
 #else
 /*
  * This is used, because the TUNNEL-MIB augments ifTable.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.