aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 6845690d057c..9f977aaea715 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 55fe750c1bf3..e722aa7e5d15 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