Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 01/12/2000 09:19:13
Module Name:	syssrc
Committed By:	jdolecek
Date:		Wed Jan 12 17:19:12 UTC 2000

Modified Files:
	syssrc/sys/compat/linux/common: linux_socket.c

Log Message:
Improve emulation of SIOCGIFHWADDR ioctl:
 * when finding an interface, try the real name first before faking eth*
 * Linux kernel returns ENODEV if the request goes to unknown interface,
   so do the same here

This change makes Linux ICA client work.

Patch sent by Zdenek Salvet <salvet@ics.muni.cz> in kern/9169.


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 syssrc/sys/compat/linux/common/linux_socket.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.