On 23/04/07, Reza Salehi <[EMAIL PROTECTED]> wrote: > I did that modification but when I compile and run the code as subagent I > am getting the > > Segmentation Fault Error. > > I just did very simple modification in the the data_set.c example. This > error happens right before the > netsnmp_table_set_multi_add_default_row() function.
If you're getting a SegFault, then it's worth running your subagent under a debugged to find out *exactly* where it's falling over, and what the offending value is. See the Wiki page http://www.net-snmp.org/wiki/index.php/Debugger for assistance. Dave ------------------------------------------------------------------------- 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-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users