help with SNMP_PARSE_OID
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all!
I've used SNMP_PARSE_OID in order to get OID from object name.
I report what i've done:
** DECLARATIONS OF USED VARIABLES **
oid name
[MAX_OID_LEN];
u_int name_length = OID_LENGTH(name);
char *names;
**********************************
** IN MAIN PROGRAM **
if
(snmp_parse_oid(names, name, &name_length) == NULL)
snmp_perror
(names);
********************
Now, i've implemented my application
both in windows and linux; in windows snmp_parse_oid api gives me in
name the corresponding OID of names; in linux it gives me an error.
Why?
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users