On Mon, 23 May 2005 20:15:03 +0800 (CST) ericyosho wrote: E> #ifndef mplsTunnelResourceTable_CAN_MODIFY_ACTIVE_ROW E> if (undo_ctx && RS_IS_ACTIVE(undo_ctx-> E> mplsTunnelResourceRowStatus) && E> row_ctx && RS_IS_ACTIVE(row_ctx-> E> mplsTunnelResourceRowStatus)) { E> row_err = 1; E> } E> #endif E> E> why it still can be modified or even deleted directly?
try logging the values of the undo and row context RowStatus columns. What are they? E> and what's more, E> if (a index is an integer){ E> oid [0] = integer; E> index.oids = oid; E> index.len = 1 E> } E> else if(the index is a string){ E> oid [0] = strlen(string); E> index.oids = oid; E> index.len = strlen(string)+1; E> } E> what is it should be if my index consists of both E> integer and string ? oid[0] = integer; oid[1] = strlen(string); // set up oid 2-n with string index.oids = oid; index.len = strlen(string)+2); -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ 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