git: ifmedia: Fix SIOCGIFMEDIA ifmr_current value

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon Nov 23 23:10:59 PST 2015


commit 098782cf07f47699779a2b012c4195ecb69a7713
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Tue Nov 24 15:05:35 2015 +0800

    ifmedia: Fix SIOCGIFMEDIA ifmr_current value
    
    ifm->ifm_cur may not contain flow control media options, so ifm->ifm_media
    should be used instead.

Summary of changes:
 sys/net/if_media.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/098782cf07f47699779a2b012c4195ecb69a7713


-- 
DragonFly BSD source repository


More information about the Commits mailing list