>>>>> On Mon, 14 Sep 2009 11:00:23 +0530, Raghu Ramaraj >>>>> <raghu_rama...@mindtree.com> said:
RR> I have included my own MIB file under .../mibs/ dir. And I have RR> created my subagent by using mib2c You didn't set the length variable in your code properly. Your returned string was 3 characters long, but you set the length pointer not to 3 but rather to the maximum length of the variable (most likely). Something like 256 and the buffer beyond your 3 character string was all NULLs, which aren't printable so snmpget reverts to HEX. -- Wes Hardaker Cobham Analytic Solutions ------------------------------------------------------------------------------ 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-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users