diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-05-27 13:42:17 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-05-27 13:42:17 +0000 |
commit | dd02339b806a5c6f23ab54bb5815e81b249133f8 (patch) | |
tree | a4e0d98545a7ec34db68746c168991b043e1892c /sys/kern | |
parent | 5ed7881d0cbf3bce3801829be9809f399c82b93a (diff) |
if_attach() gets called before domaininit(). scan all interfaces for if_afdata
initialization after domaininit().
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/init_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index d46f5117eaa..8af998125d8 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: init_main.c,v 1.94 2002/03/14 20:31:31 mickey Exp $ */ +/* $OpenBSD: init_main.c,v 1.95 2002/05/27 13:42:16 itojun Exp $ */ /* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */ /* @@ -357,6 +357,7 @@ main(framep) s = splimp(); ifinit(); domaininit(); + if_attachdomain(); splx(s); #ifdef GPROF |