summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ospfd')
-rw-r--r--usr.sbin/ospfd/kroute.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ospfd/kroute.c b/usr.sbin/ospfd/kroute.c
index a33f91688f1..cb74def38fc 100644
--- a/usr.sbin/ospfd/kroute.c
+++ b/usr.sbin/ospfd/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.35 2006/11/17 08:55:31 claudio Exp $ */
+/* $OpenBSD: kroute.c,v 1.36 2006/11/28 16:36:58 henning Exp $ */
/*
* Copyright (c) 2004 Esben Norby <norby@openbsd.org>
@@ -812,7 +812,7 @@ fetchtable(void)
mib[5] = 0;
mib[6] = 0; /* rtableid */
- if (sysctl(mib, 6, NULL, &len, NULL, 0) == -1) {
+ if (sysctl(mib, 7, NULL, &len, NULL, 0) == -1) {
log_warn("sysctl");
return (-1);
}
@@ -820,7 +820,7 @@ fetchtable(void)
log_warn("fetchtable");
return (-1);
}
- if (sysctl(mib, 6, buf, &len, NULL, 0) == -1) {
+ if (sysctl(mib, 7, buf, &len, NULL, 0) == -1) {
log_warn("sysctl");
free(buf);
return (-1);