Re: on 64 bit

2008-01-04 Thread deepak b
Thanks for pointing out bugs in the code but i still cannot avoid accessing reqVar->name since i have a mapping of OIDs to keys of my Objects in my db. Since the keys used is not like a usual index-value pair, these mappings needs to be maintained in my db. But it still doesnt explain why i am get

Re: on 64 bit

2008-01-04 Thread Robert Story
On Fri, 4 Jan 2008 10:37:16 +0530 deepak wrote: DB>void clSnmpOidCpy(ClSNMPRequestInfoT * pReqInfo, ClUint32T * pOid) Here is one major problem.. An OID array is an array of longs, not int32. On a 64 bit system this means 8 bytes each, not 32, You should use the 'oid' type defined in the net-snmp

Re: Reloading config with -HUP and update_config does not work

2008-01-04 Thread Robert Story
On Fri, 4 Jan 2008 09:02:18 - Colin wrote: CW> In my case I have a real problem as the netsnmp is not run as a separate CW> process but is part of my sub-agent, so reconfiguring the ports requires CW> the whole process (which includes other stuff) to be exited and CW> restarted (due to the memo

RE: Reloading config with -HUP and update_config does not work

2008-01-04 Thread Colin Wernham
> On Fri, 16 Nov 2007 01:15:22 +0100 Magnus wrote: > MF> On tor, 2007-11-15 at 08:23 +, Colin Wernham wrote: > MF> > I have a problem with re-loading the snmpd.conf config using > MF> > update_config() function as it appears to not do any reloading of > MF> > config. > MF> > MF> It does reload