diff options
author | julian <julian@FreeBSD.org> | 2001-02-23 16:34:22 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2001-02-23 16:34:22 +0000 |
commit | 575ee59b1c3162f7917e5e0b3fdacb39c4b96039 (patch) | |
tree | d20bb9bdc213856eb1223ca1ac24826ae7676b4b /sys/netgraph/netgraph.h | |
parent | caa8a14382c376f9c55e5e5b70bd6bb997d4bd38 (diff) | |
download | FreeBSD-src-575ee59b1c3162f7917e5e0b3fdacb39c4b96039.zip FreeBSD-src-575ee59b1c3162f7917e5e0b3fdacb39c4b96039.tar.gz |
Shuffle sysctls a bit (thankyou whoever made them dynamic for modules)
and add a sysctl to pppoe to activate non standard ethertypes
so that idiot ISPs (apparently in France) who use
equipment from idiot suppliers (rumour says 3com)
who use nonstandard ethertypes can still connect.
"yep, sure we do pppoe, we use a different identifier to that dictated in
the standard, but sure it's pppoe!"
sysctl -w net.graph.stupid_isp=1 enables the changeover.
Diffstat (limited to 'sys/netgraph/netgraph.h')
-rw-r--r-- | sys/netgraph/netgraph.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/netgraph/netgraph.h b/sys/netgraph/netgraph.h index 21db90b..faef2e5 100644 --- a/sys/netgraph/netgraph.h +++ b/sys/netgraph/netgraph.h @@ -1124,7 +1124,11 @@ MALLOC_DECLARE(M_NETGRAPH); MALLOC_DECLARE(M_NETGRAPH_MSG); MALLOC_DECLARE(M_NETGRAPH_META); - +/* declare the base of the netgraph sysclt hierarchy */ +/* but only if this file cares about sysctls */ +#ifdef SYSCTL_DECL +SYSCTL_DECL(_net_graph); +#endif /* * Methods that the nodes can use. |