summaryrefslogtreecommitdiff
path: root/sys/net/pf_if.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2003-12-31 15:32:44 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2003-12-31 15:32:44 +0000
commitabc0ecea981a3b9b29bbb56d4ba9b77f7f09611e (patch)
tree372b71624d46909093a5ac050acf0104e1adce07 /sys/net/pf_if.c
parent436eadf8d1db65061f4ae7f91131666a571fb47f (diff)
delay interfaces attach until "self" has been created; ok cedric@
Diffstat (limited to 'sys/net/pf_if.c')
-rw-r--r--sys/net/pf_if.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf_if.c b/sys/net/pf_if.c
index 485511bc182..0a1ff795a9d 100644
--- a/sys/net/pf_if.c
+++ b/sys/net/pf_if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_if.c,v 1.2 2003/12/31 11:18:25 cedric Exp $ */
+/* $OpenBSD: pf_if.c,v 1.3 2003/12/31 15:32:43 markus Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -112,11 +112,11 @@ pfi_initialize(void)
TAILQ_INIT(&pfi_statehead);
pool_init(&pfi_addr_pl, sizeof(struct pfi_dynaddr), 0, 0, 0,
"pfiaddrpl", &pool_allocator_nointr);
- pfi_dynamic_drivers();
pfi_buffer_max = 64;
pfi_buffer = malloc(pfi_buffer_max * sizeof(*pfi_buffer),
PFI_MTYPE, M_WAITOK);
pfi_self = pfi_if_create("self", NULL, PFI_IFLAG_GROUP);
+ pfi_dynamic_drivers();
}
void