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)
Tue, Oct 7, 8:36 PM
Unknown Object (File)
Tue, Oct 7, 1:24 PM
Unknown Object (File)
Thu, Oct 2, 4:22 PM
Unknown Object (File)
Tue, Sep 23, 6:49 AM
Unknown Object (File)
Fri, Sep 12, 12:31 PM
Unknown Object (File)
Sep 2 2025, 11:06 AM
Unknown Object (File)
Sep 2 2025, 8:06 AM
Unknown Object (File)
Sep 2 2025, 5:57 AM
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