Re: using nullOid on amd64

2006-11-14 Thread Avnindra P. Singh
On Tuesday 14 November 2006 23:40, Robert Story wrote: > On Tue, 14 Nov 2006 15:50:25 +0530 Avnindra wrote: > APS> memcpy(, nullOid, nullOidLen); > APS> _len = nullOidLen/sizeof(oid); > > APS> I generated agent code using MFD templates. I'm using > APS> FreeBSD6.1/amd64/NET-SNMP version 5.3.1. > >

Re: using nullOid on amd64

2006-11-14 Thread Robert Story
On Tue, 14 Nov 2006 15:50:25 +0530 Avnindra wrote: APS> memcpy(, nullOid, nullOidLen); APS> _len = nullOidLen/sizeof(oid); APS> I generated agent code using MFD templates. I'm using APS> FreeBSD6.1/amd64/NET-SNMP version 5.3.1. I assume this is code in a function generated by mfd? which functio

using nullOid on amd64

2006-11-14 Thread Avnindra P. Singh
Hi Coders, Sorry for posting this message again. I posted my earlier message in reply to an obscure thread, so probably it wasn't visible. I get the following error on amd64/FreeBSD6.1. The same code runs ok on i386/FreeBSD4.2. I assign OID value, nullOid to a snmp variable in my agent memc

using nullOid on amd64

2006-11-13 Thread Avnindra P. Singh
Hi Coders, I get the following error on amd64/FreeBSD6.1. The same code runs ok on i386/FreeBSD4.2. I assign OID value, nullOid to a snmp variable in my agent memcpy(, nullOid, nullOidLen); _len = nullOidLen/sizeof(oid); and when I get the variable value using snmpget like: snmpget -v2c -c