]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ifconfig(8): Partial revert of r347241
authorkevans <kevans@FreeBSD.org>
Thu, 9 May 2019 12:58:33 +0000 (12:58 +0000)
committerkevans <kevans@FreeBSD.org>
Thu, 9 May 2019 12:58:33 +0000 (12:58 +0000)
commitdeab606f6db9d0e8279d6ac709994e2d32f51dff
tree63c66a57c123c3ae339094aea00387390027f980
parent02555f3c923d41087b5a983a18281dfb385cbc26
ifconfig(8): Partial revert of r347241

r347241 introduced an ifname <-> kld mapping table, mostly so tun/tap/vmnet
can autoload the correct module on use. It also inadvertently made bogus
some previously valid uses of sizeof().

Revert back to ifkind on the stack for simplicity sake. This reduces the
diff from the previous version of ifmaybeload for easiser auditing.
sbin/ifconfig/ifconfig.c