Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2005 15:36:43 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        James Long <stable@museum.rain.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: RFC: proposed patch for /usr/src/usr.sbin/wicontrol/wicontrol.c
Message-ID:  <20051026223643.GB7943@odin.ac.hmc.edu>
In-Reply-To: <20051026222047.GA9467@ns.museum.rain.com>
References:  <20051026222047.GA9467@ns.museum.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--s2ZSL+KKDSLx8OML
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Oct 26, 2005 at 03:20:47PM -0700, James Long wrote:
> wicontrol.c defaults to the "wi" interface.  I used to have a
> wi device, but it eventually took a dump and I bought a new
> ath-based card, which works flawlessly AFAIK, after four months
> or so.
>=20
> But I grow weary of having to specify "-i ath0" every time I
> run wicontrol.
>=20
> Please review the following patch to /usr/src/usr.sbin/wicontrol/wicontro=
l.c
> which modifies wicontrol to look for an environment variable
> WI_IFACE and if set, take the interface name from that variable.
> If unset, the interface name defaults to "wi0" just as before,=20
> which hopefully will make this POLA compliant.  Googling for=20
> "WI_IFACE" I find no indications that this variable name already=20
> is in use for anything else.
>=20
> Apologies in advance for the simple diff output patch.

wicontrol is obsolete and you should not need to use it, particularly
for ath(4) devices.  Why are you using it?  Is some feature you need
missing from ifconfig?

-- Brooks

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

--s2ZSL+KKDSLx8OML
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFDYATxXY6L6fI4GtQRAgcZAJ9gN5rYEbJ6dlfA9PjPk72aNiUr4ACfdqJt
vSMUMZ9DA47IRLzCodPl2yQ=
=vFA7
-----END PGP SIGNATURE-----

--s2ZSL+KKDSLx8OML--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051026223643.GB7943>