On Tue, 2005-09-20 at 11:06 -0400, sasson, shuki wrote:
> This will only work for IPv6 when the address is given in a format:
> 
> udp6:[3ffe::1]:161

Not quite.
This code will work when the address is given in the format:

   udp6:something

That is the supported syntax for non-IPv4 addresses.
It should work with IPv6 names as well - please let us know
if it doesn't.


> A comprehensive fix should try to resolve the name in create_trap_session
> and open the adequate transport. 

No.
Part of the design of the modular transport support was deliberately
*not* to try and guess the appropriate transport for any given address.
The user is required to specify the transport explicitly.

Defaulting to IPv4 (or unix-based named sockets) is really just
for backwards compatability with the earlier UCD releases (before
the modular transport mechanism was introduced).


But for reliable operation, the transport prefix is required.

Dave


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to