When an interface doesn't have a layer 2 address in6_get_soii_ifid()
authorflorian <florian@openbsd.org>
Tue, 10 Jul 2018 20:44:39 +0000 (20:44 +0000)
committerflorian <florian@openbsd.org>
Tue, 10 Jul 2018 20:44:39 +0000 (20:44 +0000)
commitcffd639f59c0f5b714747cda174b42ae4bbe84a9
tree51491e02006aa3d943fac1ec4289b9e31adf655d
parentee4d7c36d09abda7c46a7e657523a8b515f579fb
When an interface doesn't have a layer 2 address in6_get_soii_ifid()
failes and then later on a in in6_get_ifid() a layer 2 address is
"borrowed" from from another interface.

Do the "borrowing" in in6_get_soii_ifid(), too so that semantically
opaque interface identifiers work for these kind of interfaces, too.

OK phessler, benno
sys/netinet6/in6_ifattach.c