diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-12-21 18:29:32 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-12-21 18:29:32 +0000 |
commit | 7629a3f25b4f047f3046541d3f1efa8f0674aa7d (patch) | |
tree | 38d6e8ad2578b72e0bc942c55b6d8b40c77502cb /usr.sbin/ospf6d | |
parent | ce717090df1851e94423b84799454c2427d60fd8 (diff) |
Doh! It helps to load the IPv6 routing table into kroute instead of IPv4.
Diffstat (limited to 'usr.sbin/ospf6d')
-rw-r--r-- | usr.sbin/ospf6d/kroute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospf6d/kroute.c b/usr.sbin/ospf6d/kroute.c index 6ecfd06e8f5..f91cb251458 100644 --- a/usr.sbin/ospf6d/kroute.c +++ b/usr.sbin/ospf6d/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.13 2009/09/20 20:27:53 stsp Exp $ */ +/* $OpenBSD: kroute.c,v 1.14 2009/12/21 18:29:31 claudio Exp $ */ /* * Copyright (c) 2004 Esben Norby <norby@openbsd.org> @@ -1048,7 +1048,7 @@ fetchtable(void) mib[0] = CTL_NET; mib[1] = AF_ROUTE; mib[2] = 0; - mib[3] = AF_INET; + mib[3] = AF_INET6; mib[4] = NET_RT_DUMP; mib[5] = 0; mib[6] = 0; /* rtableid */ |