Hi all,

Is it possible to set the layer 3 source IP address for a trap packet to a 
certain interface on the device, other than the outgoing interface?

I have tried to set the member localname of the netsnmp_session data structure 
to the desired interface address in the function send_trap_to_sess() in 
agent_trap.c, but it doesn't work. The localname in the function is null, I 
suppose the source interface for the trap packet will be filled up later on.

Can anyone please give me some help?

Cheers, Henry

_________________________________________________________________
Find singles in your area with Match.
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fmatch%2Enz%2Emsn%2Ecom%2Fchannel%2Findex%2Easpx%3Ftrackingid%3D1043416&_r=WL_EMAL_TAG&_m=EXT
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to