memory leak in net-snmp-5.2.4

2007-08-21 Thread 李 �F
hi, the tool valgrind report there is a memory leak in function "netsnmp_transport *netsnmp_udp_transport(struct sockaddr_in *addr, int local)" in file "snmplib/snmpUDPDomain.c" : *addr_pair is malloced but not freed. The net-snmp version is 5.2.4. I looked into the code of net-snmp-

Help in callback functions: snmp_call_callbacks

2007-08-21 Thread ALBERT BEZZINA
Hi, I am trying to write a trap wrapper function around the net-SNMP API's. I don't know what the function below does, and if I also need to include this function inside my wrapper: /* from agent_trap.c line 824 */ snmp_call_callbacks(SNMP_CALLBACK_APPLICATION, SNMPD_C

Re: QUERY:multi agnet in same system ?

2007-08-21 Thread Dave Shield
On 21/08/07, <[EMAIL PROTECTED]> wrote: > Still I am not clear in this, that means if I have 3 virtual IP address > in same system like 172.19.2.131,172.19.2.132,172.19.2.133.so I can run > it has "snmpd udp:172.19.2.131:161" ,"snmpd udp:172.19.2.132:161" > "snmpd udp:172.19.2.132:133:161".is it l

RE: QUERY:multi agnet in same system ?

2007-08-21 Thread jagadeesan.murugesan
Hi Wes Hardaker, Still I am not clear in this, that means if I have 3 virtual IP address in same system like 172.19.2.131,172.19.2.132,172.19.2.133.so I can run it has "snmpd udp:172.19.2.131:161" ,"snmpd udp:172.19.2.132:161" "snmpd udp:172.19.2.132:133:161".is it like this .. And we were usin