Re: a patch for memory leak

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
> CC> Does anybody know why netsnmp only allow 128 OID in one request?
> CC> #define SNMP_MAX_CMDLINE_OIDS   128
>
> That's actually a mandate by the SNMP protocol.

Are you sure, Wes?
As far as I can tell, the protocol specifies the maximum number of
subidentifiers within a single OID, but not the number of varbind
that are allowed in a single request.

A very quick look at the code seems to indicate that this
constant is simply there to simplify the handling of the
command-line arguments.   I don't believe it's dependent
on anything in the SNMP protocol itself.

Dave

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
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.