On ons, 2007-07-04 at 12:48 +0400, Aleksandr Lomanov wrote:
> Hello, all!
>
> For what used reverse asn encoding ?


The point is that if you forward encode snmp packages then you have to
guess the size of the the content and might end up getting it wrong. By
coding the package from the last, innermost part and outwards you avoid
the problem.

> And in snmp_pdu_realloc_rbuild() i found bug.
> It works okay when count of pdu->variables is less than 50.
> When count of variables is more than 50, it repeates first 50 variables
> twice and exits.


Could you please provide an example that shows the problem as I fail to
reproduce it.

/MF



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders