HomeFreeBSD

rc: network.subr improve network6_getladdr()

Description

rc: network.subr improve network6_getladdr()

In network6_getladdr() we are iterating over inet6 lines and are not
interested in any others. So tell ifconfig to limit output to "inet6"
as much as possible.
This is probably a micro-optimisation but was noticed while looking
at other IPv6-related boot-time improvements.

MFC after: 1 week

Details

Provenance
bzAuthored on Dec 13 2021, 10:10 PM
Parents
rG5c68a2169702: loader:prefix is only used for LOADER_VERIEXEC
Branches
Unknown
Tags
Unknown