summaryrefslogtreecommitdiff
path: root/usr.bin/systat
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/systat')
-rw-r--r--usr.bin/systat/if.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/systat/if.c b/usr.bin/systat/if.c
index 74aedd035af..975a513a4b7 100644
--- a/usr.bin/systat/if.c
+++ b/usr.bin/systat/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.20 2011/04/05 07:35:32 mpf Exp $ */
+/* $OpenBSD: if.c,v 1.21 2014/06/23 03:46:16 guenther Exp $ */
/*
* Copyright (c) 2004 Markus Friedl <markus@openbsd.org>
*
@@ -191,7 +191,7 @@ fetchifstat(void)
size_t need;
mib[0] = CTL_NET;
- mib[1] = AF_ROUTE;
+ mib[1] = PF_ROUTE;
mib[2] = 0;
mib[3] = 0;
mib[4] = NET_RT_IFLIST;