Subject: Re: Strange behaviour of ifconfig
To: None <current-users@NetBSD.org>
From: Matthias Scheler <tron@zhadum.org.uk>
List: current-users
Date: 06/16/2006 08:40:11
In article <20060616011732.701dae74@lapdance.yazzy.net>,
	Marcin Jessa <lists@yazzy.org> writes:
> The ifconfig command shows only one interface and fails showing others
> saying:
> ifconfig: socket: Address family not supported by protocol family

This is a side effect of change to the socket(2) system call. Attempts
to create a socket for a network protocol not supported by the kernel
(e.g. OSI) now fail with a different error code. And that confused the
ifconfig(1) command.

It got fixed by this commit:

http://mail-index.netbsd.org/source-changes/2006/06/14/0007.html

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/