From: Giuseppe M. <g.m...@el...> - 2008-01-25 09:03:57
|
In my sub-agent I want to print an OID in a numerical fashion. I have "oid *name" and "size_t name_len". I'm sure there is a function in the Net-SNMP source code like the following: print_objid_num( oid *name, size_t name_len ); that prints (on stdout or on a buffer or on a file stream) 1.2.3.1.... An what about print the OID textual up to enterprises node and numerically afterward? |