Hi,
At the README file (ver 5.4.1) I think that there is a minor error, instead of
This gives the following code fragment:
int
header_generic(vp, name, length, exact, var_len, write_method)
{
oid newname[MAX_OID_LEN];
memcpy((char *)newname, (char *)vp->name,
(int)vp->namelen * sizeof(oid));
newname[ vp->namelen ] = 0;
:
}
Having formed the OID, this can then be compared against the variable
I believe that it should be
This gives the following code fragment:
int
header_generic(struct variable *vp,
oid * name,
size_t * length,
int exact, size_t * var_len, WriteMethod ** write_method)
{
oid newname[MAX_OID_LEN];
memcpy((char *)newname, (char *)vp->name,
(int)vp->namelen * sizeof(oid));
newname[ vp->namelen ] = 0;
:
}
Having formed the OID, this can then be compared against the variable
Since the implementation is the part that the explanation is referring to.
Best regards,
Isaac Eliassi
Embedded Software , R&D, EIS
NICE Systems. Israel
(T) + 972-9-7753982
(F) + 972-9-7753000
(M) + 972-54-4608201
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
www.nice.com<http://www.nice.com/>
-------------------------------
NICE - Insight from Interactions
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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