When I want to send trap the routine cannot run

2010-07-27 Thread Alexander King
Hi Dave and all: In my project ,I want to call sendtempJBODTempTrap() in init_uit(),but the the program program interrupt at the sentence as follow: [SKIP] struct jBODTempTable_entry *jBODTempTable_head,*tempJBODTemp; /* */ /* create a new row in the (unsorted) table */ struct

Re: When I want to send trap the routine cannot run

2010-07-27 Thread Dave Shield
On 27 July 2010 09:58, Alexander King wrote: > In my project ,I want to call sendtempJBODTempTrap() in init_uit() No - I don't think you can send traps quite so early as that. Remember that the individual module init_xxx routines are called *before* the config files are read in (since this is wh

Re: When I want to send trap the routine cannot run

2010-07-27 Thread Alexander King
: "Dave Shield"; Date: Tue, Jul 27, 2010 05:16 PM To: "Alexander King"; Cc: "net-snmp-users"; Subject: Re: When I want to send trap the routine cannot run On 27 July 2010 09:58, Alexander King wrote: > In my project ,I want to call sendtempJBODTemp