git: ifconfig(8): Fix support for automatic driver module loading.

Sascha Wildner swildner at crater.dragonflybsd.org
Tue Oct 20 09:27:44 PDT 2015


commit 83a76af30663c2897c5540c46cde465b7fe9b89a
Author: Sascha Wildner <saw at online.de>
Date:   Tue Oct 20 18:10:10 2015 +0200

    ifconfig(8): Fix support for automatic driver module loading.
    
    Before this commit, trying to configure for example 'ifconfig vxnet ..."
    would have kldload'ed the if_vx module even if there was a if_vxnet one
    if they both existed and none of them was loaded.
    
    FreeBSD fixed this in r279951. This commit brings in their ifmaybeload()
    function wholesale.
    
    Taken-from:  FreeBSD
    Reported-by: Bill Yuan <bycn82 at leaf.dragonflybsd.org>

Summary of changes:
 sbin/ifconfig/ifconfig.c | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/83a76af30663c2897c5540c46cde465b7fe9b89a


-- 
DragonFly BSD source repository



More information about the Commits mailing list