summaryrefslogtreecommitdiff
path: root/sys/netinet6/ip6_input.c
diff options
context:
space:
mode:
authorYoshinobu Inoue <shin@FreeBSD.org>1999-12-22 19:13:38 +0000
committerYoshinobu Inoue <shin@FreeBSD.org>1999-12-22 19:13:38 +0000
commit6a800098cc0778c9618a89f858021624722374bd (patch)
tree9cd3718d0c142edcd3154715cf1b5c93cd5c0d82 /sys/netinet6/ip6_input.c
parent2e636eed154504de1062c0a338b1f3f78c7ac4a0 (diff)
Notes
Diffstat (limited to 'sys/netinet6/ip6_input.c')
-rw-r--r--sys/netinet6/ip6_input.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c
index 105b4bc6889d..42930bd0b9ae 100644
--- a/sys/netinet6/ip6_input.c
+++ b/sys/netinet6/ip6_input.c
@@ -64,6 +64,8 @@
* @(#)ip_input.c 8.2 (Berkeley) 1/4/94
*/
+#include "opt_ipsec.h"
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/malloc.h>
@@ -209,7 +211,8 @@ ip6_init2(dummy)
}
/* cheat */
-SYSINIT(netinet6init2, SI_SUB_PROTO_DOMAIN, SI_ORDER_THIRD, ip6_init2, NULL);
+/* This must be after route_init(), which is now SI_ORDER_THIRD */
+SYSINIT(netinet6init2, SI_SUB_PROTO_DOMAIN, SI_ORDER_MIDDLE, ip6_init2, NULL);
/*
* IP6 input interrupt handling. Just pass the packet to ip6_input.