From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 28 14:02:09 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 25AD9E29 for ; Fri, 28 Jun 2013 14:02:09 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward19.mail.yandex.net (forward19.mail.yandex.net [IPv6:2a02:6b8:0:1402::4]) by mx1.freebsd.org (Postfix) with ESMTP id CDA751E89 for ; Fri, 28 Jun 2013 14:02:08 +0000 (UTC) Received: from smtp16.mail.yandex.net (smtp16.mail.yandex.net [95.108.252.16]) by forward19.mail.yandex.net (Yandex) with ESMTP id 042C41120E5A; Fri, 28 Jun 2013 18:02:05 +0400 (MSK) Received: from smtp16.mail.yandex.net (localhost [127.0.0.1]) by smtp16.mail.yandex.net (Yandex) with ESMTP id C4BC46A05F0; Fri, 28 Jun 2013 18:02:05 +0400 (MSK) Received: from v10-166-195.yandex.net (v10-166-195.yandex.net [84.201.166.195]) by smtp16.mail.yandex.net (nwsmtp/Yandex) with ESMTP id MCVsKUk1tt-25rKmKBg; Fri, 28 Jun 2013 18:02:05 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1372428125; bh=Di0oq73weh/hmdkmNGx/Enl9EofVAJ5gf4z19WYUsww=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:X-Enigmail-Version:Content-Type: Content-Transfer-Encoding; b=S6Pr39BDZIRoNY5ITfXdXQbLf4grwy+0UnTM1Q6A7zMmslgbMuTs4eYc5owqcQq0q dvnVSGrvFzDGJPL7GzofPiVZdOQVOySIZTijp6gN6mI8DvhpzMfRX2qzC/GMFYs7ge yI1Yb7fhvffm6tRFaDVYB7aqYurr4kjkf2coQ2Sc= Authentication-Results: smtp16.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <51CD96B0.7000402@yandex.ru> Date: Fri, 28 Jun 2013 17:59:12 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Sreenivasa Honnur Subject: Re: IPv6 - sobind fails with 49 References: In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "freebsd-hackers@freebsd.org" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jun 2013 14:02:09 -0000 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