From 7629a3f25b4f047f3046541d3f1efa8f0674aa7d Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Mon, 21 Dec 2009 18:29:32 +0000 Subject: Doh! It helps to load the IPv6 routing table into kroute instead of IPv4. --- usr.sbin/ospf6d/kroute.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/ospf6d') 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 @@ -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 */ -- cgit v1.2.3