The following reply was made to PR kern/152036; it has been noted by GNATS.

From: Nicholas Wilson <nicholas.wil...@realvnc.com>
To: bug-follo...@freebsd.org, kby...@gmail.com
Cc:  
Subject: Re: kern/152036: [libc] getifaddrs(3) returns truncated sockaddrs
 for netmasks
Date: Tue, 06 Nov 2012 12:19:08 +0000

 Note that although this is a little surprising initially, it could well 
 be intentional. For comparison, SIOCGIFNETMASK has the same behaviour on 
 other platforms that have sa_len, including Darwin and AIX, so FreeBSD's 
 behaviour is in line with other implementations. Changing the behaviour 
 of the ioctl might break someone's code.
 
 Nicholas Wilson
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to