On Thu, 1 Jun 2006 10:08:32 +0800 livia wrote: LX> Firstly, thank you very much for your help! LX> In fact, my table's index mac address is a fixed length of 6. For example, LX> if the mac address string is "ABCDEF", I want to print them with the LX> following format: LX> A:B:C:D:E:F. LX> Sorry, I don't know whether I have expressed myself clearly. It looks like LX> IPADDRESS, but the length is 6.
What does the MIB definition for the object look like? LX> =x; It means that I can get the first three characters. LX> I am sorry I don't understand your meanings well. Do you mean if my LX> variable is a fixed string, I can set the type as ASN_OCTET_STR with LX> 5.3.1.pre3 ? Thanks again. No, you'll still need to use implied. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders> You are lost in a twisty maze of little standards, all different. _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders