problem to assign source addr port number, instead of random selection

Nagaraju Surulivel <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,
     I'm using net-snmp5.3.2. I was tried to send trap using trap2sink. It can able to send and receive the trap message in Manager. 
   
     But i want to set a soruce & destination port number as 161. I set the destionation number using trap2sink xx.xx.xx.xx:161 public 
   
  The receiving port is always 3072. I want to set this as 161. I was tried to set session->local_port = 161 in many places. But it didnt set it.
   
  Please help me to fix this issue, in what way i can set the destination port number by manually.
   
  Thanks..
   

       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
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.