cvs commit: src/sbin/ifconfig ifconfig.8 ifmedia.c
sam at errno.com
Sun Jan 21 20:03:12 UTC 2007
Marius Strobl wrote:
> marius 2007-01-20 00:56:49 UTC
> FreeBSD src repository
> Modified files:
> sbin/ifconfig ifconfig.8 ifmedia.c
> - Display the media instance numbers and allow the user to set the active
> one. This is based on NetBSD but unlike NetBSD this implementation prints
> the instance number for all media instances and doesn't skip it for the
> first one as I don't see a reason to suppress it except for the vague
> reason to preserve the output for single-instance configurations.
> - Fix some whitespace nits.
This overflows 80 cols for wireless devices. I suspect the information
is meaningless to most folks and can be safely hidden under the -v option.
Alternatively we can take an axe to the media reporting for 802.11
devices. It's pretty lame in it's present form.
More information about the cvs-all