From 0e65089b79bdcb700b4f89f3d68ed6b3e5ce07b9 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Wed, 23 Jan 2002 12:48:08 +0000 Subject: [PATCH] The sixth argument to the NET_RT_IFLIST sysctl is actually 0 for all interfaces, and ifnet.if_index value for a single interface. --- lib/libc/gen/sysctl.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3 index 53a6f3724da..c9e002cbebf 100644 --- a/lib/libc/gen/sysctl.3 +++ b/lib/libc/gen/sysctl.3 @@ -540,7 +540,7 @@ The fifth and sixth level names are as follows: .It Sy "Fifth level name Sixth level is:" .It "NET\_RT\_FLAGS rtflags" .It "NET\_RT\_DUMP None" -.It "NET\_RT\_IFLIST None" +.It "NET\_RT\_IFLIST 0 or if_index" .El .It Li PF_INET Get or set various global information about the IPv4