Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jun 2013 17:59:12 +0400
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Sreenivasa Honnur <shonnur@chelsio.com>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: IPv6 - sobind fails with 49
Message-ID:  <51CD96B0.7000402@yandex.ru>
In-Reply-To: <F2BBBB6E0068844991318A316F34795C357751@nice.asicdesigners.com>
References:  <F2BBBB6E0068844991318A316F34795C348D3B@nice.asicdesigners.com> <F2BBBB6E0068844991318A316F34795C357751@nice.asicdesigners.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 28.06.2013 08:15, Sreenivasa Honnur wrote:
>                 if (rv != 0) {
> 
>                         printf("sock create ipv6 %s failed %d.\n",
> 
>                                         tbuf, rv);
> 
>                         return NULL;
> 
>                 }
> 
> 
Can you try insert here?
		  bzero(&saddr6, sizeof(saddr6));
>                 saddr6.sin6_family = AF_INET6;


-- 
WBR, Andrey V. Elsukov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51CD96B0.7000402>