Subject: CVS commit: src/sys/net
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 08/09/2003 18:13:04
Module Name: src
Committed By: christos
Date: Sat Aug 9 18:13:04 UTC 2003
Modified Files:
src/sys/net: if.c
Log Message:
Fix problem with OSIOCIFCONF where it tried to copyout addresses that
did not fit in struct osockaddr. Fixes linux emulation issue where bogus
addresses where returned for the interfaces [AF_LINK, AF_INET6]. While
I am here, change ioctl, so if the ifconf buffer passed is NULL, then it
computes how much space is needed and returns it in ifc_len.
To generate a diff of this commit:
cvs rdiff -r1.126 -r1.127 src/sys/net/if.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.