Re: HAVE_DMALLOC_H in acconfig.h

2011-05-19 Thread Wes Hardaker
> On Thu, 19 May 2011 16:02:57 +0200, Joakim Tjernlund > said: JT> Please consider changing this in acconfig.h: And here I thought we didn't have any of those left ;-) Thanks! I've fixed it in the SVN tree. -- Wes Hardaker Please mail all replies to [email protected].

HAVE_DMALLOC_H in acconfig.h

2011-05-19 Thread Joakim Tjernlund
Hi Devs Please consider changing this in acconfig.h: #if HAVE_DMALLOC_H #define DMALLOC_FUNC_CHECK #endif to a proper #ifdef: #ifdef HAVE_DMALLOC_H #define DMALLOC_FUNC_CHECK #endif It causes gcc warnings whne -Wundef is used. Jocke -

Re: How to program table bulk get?

2011-05-19 Thread Wes Hardaker
> On Wed, 18 May 2011 22:44:40 -0400, Zimmer Hu said: ZH> Can somebody show me how to do GETBULK in netsnmp? Besides set GETBULK ZH> handler mode, are there anything else needs to be done? ZH> I've found bulk_to_next.c file, it seems can convert bulk request to ZH> get-next, and get-next can

Re: Need a broken 64 bit example OID/u_long problem

2011-05-19 Thread Wes Hardaker
> On Thu, 19 May 2011 14:57:57 +, "Rusk, Mark" said: RM> 1)When dlmod modules (x86_64) are built with net-snmp-5.5 (or earlier) RM> are loaded into a net-snmp-5.6.1 snmpd the typedefs for oid are in RM> conflict. You end up trying to register OIDS 1.0.3.0.6.0.1.0.4.0.*, RM> instead of 1.

Re: Need a broken 64 bit example OID/u_long problem

2011-05-19 Thread Niels Baggesen
Den 19-05-2011 16:33, Wes Hardaker skrev: > The reason I haven't gotten around to releasing 5.6.1.1 yet is that I > want to fix not only the typedef, but the problem the typedef is > causing. I can't find the bug. I've looked. I've run all sorts of > applications on 64 bit systems and don't see

RE: Need a broken 64 bit example OID/u_long problem

2011-05-19 Thread Rusk, Mark
What I have found: 1)When dlmod modules (x86_64) are built with net-snmp-5.5 (or earlier) are loaded into a net-snmp-5.6.1 snmpd the typedefs for oid are in conflict. You end up trying to register OIDS 1.0.3.0.6.0.1.0.4.0.*, instead of 1.3.6.1.4.* 2) mib2c (at least the mib2c.container.conf in n

Need a broken 64 bit example OID/u_long problem

2011-05-19 Thread Wes Hardaker
The reason I haven't gotten around to releasing 5.6.1.1 yet is that I want to fix not only the typedef, but the problem the typedef is causing. I can't find the bug. I've looked. I've run all sorts of applications on 64 bit systems and don't see the problem. So... Bart, or anyone else that ha