Create interfaces before processing the hostname.if file in ifstart().
authorrpe <rpe@openbsd.org>
Sun, 18 Feb 2018 00:43:16 +0000 (00:43 +0000)
committerrpe <rpe@openbsd.org>
Sun, 18 Feb 2018 00:43:16 +0000 (00:43 +0000)
commit486fd1b5bbecd19f816bb9e86c60099a60c5b944
tree7a63c99ca84d6b57af32dda271c00403d31f0eee
parentd2e2508d543829c28b3f43d75543ff7ce9221aa1
Create interfaces before processing the hostname.if file in ifstart().

This ensures, that IPv6 is configured for dynamically created network
interfaces like 'vlan' which would otherwise not yet exist at the time
parse_hn_line() checks for IPv6 capability of an interface before
applying the inet6 configuration from the hostname.if.

Found out, tested and OK naddy
distrib/miniroot/install.sub