HomeFreeBSD

ifconfig: fix 'ifconfig -l ether'

Description

ifconfig: fix 'ifconfig -l ether'

When matching interfaces for being Ethernet, use same trick that
the link module does - pass if_type through convert_iftype().
That restores historicaly behaviour of listing lagg(4) ports.

Reviewed by: melifaro
Differential Revision: https://reviews.freebsd.org/D41585

Details

Provenance
glebiusAuthored on Aug 25 2023, 5:31 PM
Reviewer
melifaro
Differential Revision
D41585: ifconfig: fix 'ifconfig -l ether'
Parents
rG24a81a968d21: ifconfig: fix logical error in interface matching for '-l ether'
Branches
Unknown
Tags
Unknown