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
Differential Revision: https://reviews.freebsd.org/D29741

(cherry picked from commit 407fb44c920a580a30dfe7d1add796a7b35a5ac7)

Details

Provenance
freqlabsAuthored on Apr 16 2021, 2:32 AM
Reviewer
donner
Differential Revision
D29741: ifconfig: Reuse media state in ifmedia_getstate
Parents
rG26b117bc6ad8: fbt: Remove some handling for multiple CTF containers
Branches
Unknown
Tags
Unknown