Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jul 2011 14:00:24 GMT
From:      Sergey Kandaurov <pluknet@gmail.com>
To:        freebsd-net@FreeBSD.org
Subject:   Re: kern/152036: [libc] getifaddrs(3) returns truncated sockaddrs for netmasks
Message-ID:  <201107111400.p6BE0ODA040563@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/152036; it has been noted by GNATS.

From: Sergey Kandaurov <pluknet@gmail.com>
To: bug-followup@FreeBSD.org, kbyanc@gmail.com
Cc:  
Subject: Re: kern/152036: [libc] getifaddrs(3) returns truncated sockaddrs for netmasks
Date: Mon, 11 Jul 2011 17:59:47 +0400

 [Some thoughts and testing...]
 This is rather a kernel bug, i.e. this is not a getifaddrs() bug.
 This is confirmed by (undocumented) ioctl SIOCGIFNETMASK.
 I found that the bug is manifested for ip4, and not for lladdr, ipv6.



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