HomeFreeBSD

ifconfig: fix 'ifconfig -l link'

Description

ifconfig: fix 'ifconfig -l link'

The rtnetlink(4) RTM_GETADDR does not list link level addresses, thus
the correct match for interfaces that have a link level address should
be based on what was returned by RTM_GETLINK.

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

Details

Provenance
glebiusAuthored on Aug 25 2023, 5:31 PM
Reviewer
melifaro
Differential Revision
D41586: ifconfig: fix 'ifconfig -l link'
Parents
rG31016aa0be6d: ifconfig: fix 'ifconfig -l ether'
Branches
Unknown
Tags
Unknown