summaryrefslogtreecommitdiffstats
path: root/sys/net/route.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/route.c')
-rw-r--r--sys/net/route.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/route.c b/sys/net/route.c
index 45e0e39..f2b187f 100644
--- a/sys/net/route.c
+++ b/sys/net/route.c
@@ -1077,4 +1077,5 @@ rtinit(ifa, cmd, flags)
return (error);
}
-SYSINIT(route, SI_SUB_PROTO_DOMAIN, SI_ORDER_ANY, route_init, 0);
+/* This must be before ip6_init2(), which is now SI_ORDER_MIDDLE */
+SYSINIT(route, SI_SUB_PROTO_DOMAIN, SI_ORDER_THIRD, route_init, 0);
OpenPOWER on IntegriCloud