On 11 April 2010 00:21, Malathi Panyam <[email protected]> wrote: > Hi Dave, > Sure, once I figure out the fix, I will definitely update the users > list.
Thanks. Sorry if I sounded a bit sharp last week. Supporting this software does get a bit frustrating at times. > I tried to debug further on OpenWRT machine at netsnmp_old_api_helper() and I > saw > 260 cvp->findVar = vp->findVar; > (gdb) print vp->findVar > $6 = (FindVarMethod *) 0x757f4 <var_tunnelIfEntry> > > > Where as on Ubuntu where everything works fine looks like > 260 cvp->findVar = vp->findVar; > (gdb) print vp->findVar > $1 = (FindVarMethod *) 0x7f6c5e13fa80 <var_udp6> > > I could not understand why the handler's "findVar" got asssigned to > "var_tunnelIfEntry" > instead of "var_udp6"..Am I missing something fundamentally? var_udp6 is the (old-style) handler routine for the 'ipv6UdpTable', which does come immediate after the udpTable in the OID ordering. The next two subtrees of mib-2 (egp(8) and cmot(9)) aren't implemented by the Net-SNMP agent, so the handler following that would typically be something under transmission(10). Most likely either 'dot3' or 'tunnel', depending on what code is included in the agent. So it's not unreasonable that var_tunnelIfEntry comes fairly soon. As for why var_udp6 is not included, that might well depend on what options were passed to 'configure'. For example, did this include or exclude IPv6 support? What MIB modules were included or excluded from the build? Dave ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
