mib2c genererated code for Inetaddress as
ASN_OCTET_STR.
.So, I like to know whether Inetaddress be considered
as OCTET sting while implementing the mib.
If So, for Ipv6 or Ipv4, the pseudo code can be as
snmp_set_var_typed_value(var, ASN_OCTET_STR, (u_char
*)"127.0.0.1", strlen("127.0.0.1")).Is it correct to do that ? There is an similar question in the following link http://sourceforge.net/mailarchive/message.php?msg_id=11149756 Thanks Mamon __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
