HomeFreeBSD

ifconfig: Reuse media state in ifmedia_getstate

Description

ifconfig: Reuse media state in ifmedia_getstate

This restores behavior lost in code cleanup, fixing a regression after
2803fa471e77dc8f227fe00bbf075de7feb10022 where changing media options
only applies some of the changes, not all.

Reported by: np
Reviewed by: donner
MFC after: immediately
Differential Revision: https://reviews.freebsd.org/D29741

Details

Provenance
freqlabsAuthored on Apr 16 2021, 2:32 AM
Reviewer
donner
Differential Revision
D29741: ifconfig: Reuse media state in ifmedia_getstate
Parents
rG77c89fa6f5cd: modules: remove stale if_wg reference
Branches
Unknown
Tags
Unknown