<<< Date Index >>>     <<< Thread Index >>>

Re: sasl2 and ipv6



On Wednesday, 05 November 2003 at 20:44, Patrick Welche wrote:
> On Mon, Nov 03, 2003 at 11:52:17AM -0500, brendan@xxxxxxxxxx wrote:
> ... 
> > I'm currently connected over IPv6 and SASL2 on debian unstable. What 
> > OS/version
> > are you using?
> 
> Which begs the question, how big is a sockaddr in Debian?
> The ipv6 bug is squashed by the following patch.

Ah, thanks for the patch. Some of this code should probably be folded
into mutt_socket.c, which handles ipv4 vs ipv6 a little more
gracefully than the SASL2 code seems to. In fact, it looks like the
SASL2 path will fail to build on pre-ipv6 systems at the moment. In
that spirit, your patch is fine, but if we want this code to compile
elsewhere we'll probably have to guard any sockaddr_storage types with
autoconf. I may have time to attack this next week...