summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1997-02-10 19:19:16 +0000
committerwollman <wollman@FreeBSD.org>1997-02-10 19:19:16 +0000
commit1791a7ff979f6e90d22978658337b585456a5f61 (patch)
tree01d6414eb7177086ebe6d36f616472b0d9b92bf2
parente189308068abbb9de44dae32a984cdf77a749d97 (diff)
downloadFreeBSD-src-1791a7ff979f6e90d22978658337b585456a5f61.zip
FreeBSD-src-1791a7ff979f6e90d22978658337b585456a5f61.tar.gz
Fix spelling of net.inet.ip.forwarding.
Add ARP_PROXYALL to defunct options.
-rw-r--r--sys/conf/options1
-rw-r--r--sys/kern/kern_opt.c6
2 files changed, 6 insertions, 1 deletions
diff --git a/sys/conf/options b/sys/conf/options
index 6845690..9f977aa 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -79,6 +79,7 @@ MAXDSIZ opt_rlimit.h
OPEN_MAX opt_defunct.h
# Net stuff.
+ARP_PROXYALL opt_defunct.h
GATEWAY opt_defunct.h
MROUTING opt_mrouting.h
IPFIREWALL opt_ipfw.h
diff --git a/sys/kern/kern_opt.c b/sys/kern/kern_opt.c
index 55fe750..e722aa7 100644
--- a/sys/kern/kern_opt.c
+++ b/sys/kern/kern_opt.c
@@ -9,7 +9,11 @@
#endif
#ifdef GATEWAY
-#warning "obsolete option GATEWAY - use `sysctl -w net.inet.ip_forwarding=1'"
+#warning "obsolete option GATEWAY - use `sysctl -w net.inet.ip.forwarding=1'"
+#endif
+
+#ifdef ARP_PROXYALL
+#warning "obsolete option ARP_PROXYALL - use `sysctl -w net.link.ether.inet.proxyall=1'"
#endif
#ifdef OPEN_MAX
OpenPOWER on IntegriCloud