PV6 bind fails with 49 (#define EADDRNOTAVAIL 49 /* Can't assign requested address */)

Andrey V. Elsukov bu7cher at yandex.ru
Thu Apr 18 13:51:37 UTC 2013


On 18.04.2013 17:47, Andrey V. Elsukov wrote:
> On 18.04.2013 15:37, Sreenivasa Honnur wrote:
>> I have a ipv6 interface(ping6 to a remove ipv6 works) when I try to
>> bind to this address through a socket program "sobind" fails with
>> "49" as return value. If I give "saddr6.sin6_addr =  in6addr_any;"
>> sobind works.
>>
>> Any idea what could be going wrong here?
> 
> What value has the sysctl variable security.jail.jailed?

Oh, of course, I mean, what do you have in td->td_ucred?

-- 
WBR, Andrey V. Elsukov


More information about the freebsd-hackers mailing list