Den 05-08-2015 kl. 11:01 skrev Spandana Kadiri:
> I used Net-SNMP 5.7.3 source and created an application that receives traps.
> But when a V1 trap with IPV6 address in agent-addr field arrives,
> sess_snmp_read() is dropping the packet due to parse error.
> The following error is given:

SNMPv1 is showing its age, it only knows about IPv4.

Your trap sender should never have tried to encode an IPv6 address in 
the agent-addr field which is defined as an 4 octet IPv4 address.

Use a TRAP2 or INFORM messages and, if coding your own application, look 
in the tranport_data field of the PDU.

/Niels

-- 
Niels Baggesen - @home - Ã…rhus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers   ---   R W Hamming

------------------------------------------------------------------------------
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to