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

From: Nicholas Wilson <[email protected]>
To: [email protected], [email protected]
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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[email protected]"

Reply via email to