aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions-ipv6
diff options
context:
space:
mode:
authorPetr Lautrbach <plautrba@redhat.com>2011-01-14 15:34:39 +0100
committerPetr Lautrbach <plautrba@redhat.com>2011-01-14 15:34:39 +0100
commitbcc304450cc6c92e2eff57143f27b6c78990651c (patch)
tree6423c78a22bed170feece704db5ee391009f8e97 /sysconfig/network-scripts/network-functions-ipv6
parentf1db9810c3fda50c887e33e83e80f767476dd446 (diff)
downloadinitscripts-bcc304450cc6c92e2eff57143f27b6c78990651c.tar
initscripts-bcc304450cc6c92e2eff57143f27b6c78990651c.tar.gz
initscripts-bcc304450cc6c92e2eff57143f27b6c78990651c.tar.bz2
initscripts-bcc304450cc6c92e2eff57143f27b6c78990651c.tar.xz
initscripts-bcc304450cc6c92e2eff57143f27b6c78990651c.zip
use SYSCTLDEVICE without . (#667211, <notting@redhat.com>)
Diffstat (limited to 'sysconfig/network-scripts/network-functions-ipv6')
-rw-r--r--sysconfig/network-scripts/network-functions-ipv66
1 files changed, 3 insertions, 3 deletions
diff --git a/sysconfig/network-scripts/network-functions-ipv6 b/sysconfig/network-scripts/network-functions-ipv6
index 6af9c8cb..24100cba 100644
--- a/sysconfig/network-scripts/network-functions-ipv6
+++ b/sysconfig/network-scripts/network-functions-ipv6
@@ -765,9 +765,9 @@ ipv6_add_tunnel_device() {
fi
# Set sysctls proper (regardless "default")
- /sbin/sysctl -e -w net.ipv6.conf.$device.forwarding=1 >/dev/null 2>&1
- /sbin/sysctl -e -w net.ipv6.conf.$device.accept_ra=0 >/dev/null 2>&1
- /sbin/sysctl -e -w net.ipv6.conf.$device.accept_redirects=0 >/dev/null 2>&1
+ /sbin/sysctl -e -w net.ipv6.conf.$SYSCTLDEVICE.forwarding=1 >/dev/null 2>&1
+ /sbin/sysctl -e -w net.ipv6.conf.$SYSCTLDEVICE.accept_ra=0 >/dev/null 2>&1
+ /sbin/sysctl -e -w net.ipv6.conf.$SYSCTLDEVICE.accept_redirects=0 >/dev/null 2>&1
if [ -n "$addressipv6local" ]; then
# Setup P-t-P address