Page MenuHomeFreeBSD

ifconfig: fix 'ifconfig -l ether'
ClosedPublic

Authored by glebius on Aug 24 2023, 5:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jan 14, 11:44 AM
Unknown Object (File)
Mon, Jan 12, 6:31 PM
Unknown Object (File)
Sat, Jan 3, 8:05 PM
Unknown Object (File)
Mon, Dec 29, 2:33 AM
Unknown Object (File)
Dec 12 2025, 3:01 PM
Unknown Object (File)
Dec 9 2025, 7:03 PM
Unknown Object (File)
Dec 2 2025, 10:20 AM
Unknown Object (File)
Nov 28 2025, 3:08 PM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable