Cannot send V1 PDU on V2 session

Vlad Shafransky <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi everybody. 
I work with netsnmp on Linux. 
I have config my snmpd.conf as follows : 


 trapsink  192.168.0.169 
 trap2sink  192.168.0.169 


In snmp.conf defined version 2c as default version. 


I wrote some dll and i work in dlmod with loadable dll 
I don't create any sessions , and send traps as is.(I use default 
settings) 


I use send_v2trap function and i get following error : Cannot send V1 
PDU on V2 session. 


In ethereal i see that trap sent well for version 1 and for version 2c 
of SNMP , so actually i don't have functional problem.
 
Can i ignore this error or should i change my code in order to fix it? 
Tnks , Vlad. 




 
 
************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
************************************************************************************






 




Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.