On Thu, 2010-10-21 at 11:07 +0200, Andrea Agosti wrote: > Hello everybody, > I have a problem with a TimeTicks object. I define a read-write > TimeTicks obj in my MIB and then I put the code for handle it in my > subagent. But the problem is, when I read the new value I have to set in > this obj, it is different from what I set with snmpset: no matter what > value I wanna write, requests->requestvb->val.integer return always the > same value (15272624 in my case). I've registered the handler with > netsnmp_register_scalar. > > snmpset -v2c localhost lastStatsReset.0 t 0 > > Anybody can give me an hint about this?
I'd guess that you are putting in a pointer where a value is expected but I can't say unless you show your code. /MF ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
