Subject: ifmedia change
To: None <firstname.lastname@example.org>
From: Johan Danielsson <email@example.com>
Date: 02/20/2001 20:14:36
If you do `ifconfig foo0 auto' when foo0 doesn't do auto you get a
`Device not configured' error, which isn't very obvious.
The following would change it to `Invalid argument', which is more
helpful. Another way would be to make ifconfig recognise this case.
Any comments on this?
--- if_media.c 2001/01/17 19:04:03 1.12
+++ if_media.c 2001/02/20 19:08:17
@@ -247,7 +247,7 @@
- return (ENXIO);
+ return (EINVAL);