TrapHandle V2/V3 context

<[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

In TrapHandle I would like to know the if the incoming Trap/Inform is
v2 or v3 packet.

To achieve this I modified snmptrapd_handers.c (line 808)
from
#define EXECUTE_FORMAT  "%B\n%b\n%V\n%v\n"
to
#define EXECUTE_FORMAT  "%B\n%b\n%P\n%V\n%v\n"

Can you please tell me if there is any alternatve way of doing this?

-- 
thanks
chinmaya


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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.