diff options
author | 2011-07-24 15:33:41 +0000 | |
---|---|---|
committer | 2011-07-24 15:33:41 +0000 | |
commit | 731e99e3b9977094d58752b253f814d6e9fde7d4 (patch) | |
tree | 7b743cad868bc65967ebd3b1e8e512c2954a9f63 | |
parent | Sync wcslcpy and wcslcat with strlcpy and strlcat. OK deraadt@ (diff) | |
download | wireguard-openbsd-731e99e3b9977094d58752b253f814d6e9fde7d4.tar.xz wireguard-openbsd-731e99e3b9977094d58752b253f814d6e9fde7d4.zip |
use the right sysctl, doh!
pointed out by Moritz Grimm (mgrimm-at-mrsserver-dot-net)
-rw-r--r-- | distrib/miniroot/install.sh | 4 | ||||
-rw-r--r-- | etc/rc.conf | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/distrib/miniroot/install.sh b/distrib/miniroot/install.sh index 5f55b6ca1ac..880ed2d2233 100644 --- a/distrib/miniroot/install.sh +++ b/distrib/miniroot/install.sh @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: install.sh,v 1.222 2011/07/23 08:31:25 fgsch Exp $ +# $OpenBSD: install.sh,v 1.223 2011/07/24 15:33:41 fgsch Exp $ # $NetBSD: install.sh,v 1.5.2.8 1996/08/27 18:15:05 gwr Exp $ # # Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback @@ -316,7 +316,7 @@ fi if grep -qs '^rtsol' /mnt/etc/hostname.*; then sed -e "/^#\(net\.inet6\.ip6\.accept_rtadv\)/s//\1/" \ /mnt/etc/sysctl.conf >/tmp/sysctl.conf - sed -e "/^#\(net\.inet6\.ip6\.rediraccept\)/s//\1/" \ + sed -e "/^#\(net\.inet6\.icmp6\.rediraccept\)/s//\1/" \ /mnt/etc/sysctl.conf >/tmp/sysctl.conf cp /tmp/sysctl.conf /mnt/etc/sysctl.conf fi diff --git a/etc/rc.conf b/etc/rc.conf index a9f5a53b1d2..afcde804d1d 100644 --- a/etc/rc.conf +++ b/etc/rc.conf @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: rc.conf,v 1.159 2011/07/23 08:23:46 fgsch Exp $ +# $OpenBSD: rc.conf,v 1.160 2011/07/24 15:33:41 fgsch Exp $ # set these to "NO" to turn them off. otherwise, they're used as flags ldpd_flags=NO # for normal use: "" @@ -33,7 +33,7 @@ route6d_flags=NO # for normal use: "" rtsold_flags=NO # for normal use: interface # be sure to set net.inet6.ip6.forwarding=0 # be sure to set net.inet6.ip6.accept_rtadv=1 - # be sure to set net.inet6.ip6.rediraccept=1 + # be sure to set net.inet6.icmp6.rediraccept=1 lpd_flags=NO # for normal use: "" (or "-l" for debugging) sensorsd_flags=NO # for normal use: "" hotplugd_flags=NO # for normal use: "" |