Hi All,
I am adding SNMPGET support for a MIB object and have created a MIB implementation file. Some sites say the datatype ASN_OCTET_STR is not null-terminated as in a C-style string. I did see that snmp_set_var_value() appends '\0' at the end of the ASN_OCTET_STR type. Kindly confirm whether I have to terminate the string with a null character and set the length to include the null character before calling snmp_set_var_value(). Thanks, Pushpa.T
_______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders