Re: snmp_parse_oid error

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/4/6 Tanisha Kashyap <[email protected]>:
> I have the MIB file at the default location.

Which is where?


> The basic skeleton of the code is:

I'm sorry - but I'm not prepared to waste my time
looking at "basic skeleton" code.
There's too much information that you're not providing.


>        if (!snmp_parse_oid(alarmTrap->abcOid, name, &name_length)) {

Assuming that this is the line which is causing the error,
you've only given us information about one of the three parameters.

If you want us to help you, you *must* give us the information
to work with.  Forcing us to guess what your code actually looks
like is incredibly frustrating and time consuming.
Full code please.

Dave

------------------------------------------------------------------------------
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.