From 3bc72fd2150906e2400079d7a0a69c55eb69bc64 Mon Sep 17 00:00:00 2001 From: wollman Date: Wed, 20 Dec 1995 21:53:53 +0000 Subject: in_proto.c: spell ``Internet'' right and put whitespace after commas. others: start to populate the link-layer branch of the net mib, by moving ARP to its proper place. (ARP is not a protocol family, it's an interface layer between a medium-access layer and a protocol family.) sysctl(8) needs to be taught about the structure of this branch, unless Poul-Henning implements dynamic MIB exploration soon. --- sys/net/if.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/net/if.c') diff --git a/sys/net/if.c b/sys/net/if.c index bcebdb2..4525600 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)if.c 8.3 (Berkeley) 1/4/94 - * $Id: if.c,v 1.23 1995/12/05 02:01:36 davidg Exp $ + * $Id: if.c,v 1.24 1995/12/09 20:47:08 phk Exp $ */ #include @@ -45,6 +45,7 @@ #include #include #include +#include #include #include @@ -756,3 +757,5 @@ sprint_d(n, buf, buflen) } while (n != 0); return (cp); } + +SYSCTL_NODE(_net, PF_LINK, link, CTLFLAG_RW, 0, "Link layers"); -- cgit v1.1