File:
/net-snmp/agent/mibgroup/util_funcs.h
appears to have an incorrect definiton for the function:
mib_table_t Initialise_Table(int, int, RELOAD ,
COMPARE );
where RELOAD and COMPARE are defined as function
data types:
typedef int (RELOAD) (mib_table_t);
typedef int (COMPARE) (const void *, const void *);
I believe this should be a function pointer data type.
Thus initialise_table should look like:
mib_table_t Initialise_Table(int, int, RELOAD *,
COMPARE *);
I have included a patch that updates the function in the
header and source file.
Logged In: YES
user_id=88697
No patch was included with this bug report.
To Include an attachment,
"check to upload..." must be checked, and the full pathname
to the file to attach must appear after browse is completed.
The last step: Select the "Submit Changes" button,
which will read the file from your system and save it
in the repository.
Regards, -Mike Slifcak
Logged In: YES
user_id=88893
Thanks for the patch! It has been applied to the 5.0.x and 5.1.x
code bases and the main development tree, and will appear in
future releases of the net-snmp package.