2009/8/18 Tewen Hsieh <tewen.hs...@itas.com.tw>: > I am working with template code which was generated from > mib2c.iterate_access.conf. > Because of performance issue, I get the external data(PHY register values) > in each column's get_ routine like following:
[snip] Yes. And what does the handler routine look like? I.e. the code where these get_xxx calls are actually used? > Is there anything wrong in my get_ routine? > Or it's a net-snmp 5.1.1's bug? That's probably the problem, then. The 5.1.x line is very *very* old, and the mib2c templates (along with everything else) have been significantly improved since then. In particular, there are no checks on the return value of the 'get_xxx' routines. Try using a less obsolete version of the code. (Or at the very least, a newer version of the mib2c template) Dave ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders