From 22ceb237f0acde5a7f56b22bcbec381eb41db3f8 Mon Sep 17 00:00:00 2001 From: dfr Date: Tue, 16 Feb 1999 10:49:55 +0000 Subject: * Change sysctl from using linker_set to construct its tree using SLISTs. This makes it possible to change the sysctl tree at runtime. * Change KLD to find and register any sysctl nodes contained in the loaded file and to unregister them when the file is unloaded. Reviewed by: Archie Cobbs , Peter Wemm (well they looked at it anyway) --- sys/net/if_ethersubr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/net/if_ethersubr.c') diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index 26af789..ce72cbd 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)if_ethersubr.c 8.1 (Berkeley) 6/10/93 - * $Id: if_ethersubr.c,v 1.54 1999/01/12 12:07:00 eivind Exp $ + * $Id: if_ethersubr.c,v 1.55 1999/01/31 08:17:16 julian Exp $ */ #include "opt_atalk.h" @@ -679,6 +679,7 @@ ether_ifattach(ifp) #endif /* NETGRAPH */ } +SYSCTL_DECL(_net_link); SYSCTL_NODE(_net_link, IFT_ETHER, ether, CTLFLAG_RW, 0, "Ethernet"); int -- cgit v1.1