summaryrefslogtreecommitdiffstats
path: root/package/network/ipv6/6relayd/files/6relayd.init
diff options
context:
space:
mode:
authorcyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-21 10:42:31 +0000
committercyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-21 10:42:31 +0000
commit5a2ebe4b982d38eb8f7405164c1e7aaf3a08fb22 (patch)
treee9c262d25b0f736892b31056434a1534b8eb3483 /package/network/ipv6/6relayd/files/6relayd.init
parent17e562277ed85295d1fb5a9c4b1bf15b8258544e (diff)
6relayd: avoid a race-condition with looping RAs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35260 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/ipv6/6relayd/files/6relayd.init')
-rw-r--r--package/network/ipv6/6relayd/files/6relayd.init1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/ipv6/6relayd/files/6relayd.init b/package/network/ipv6/6relayd/files/6relayd.init
index 790396e57..74b9d52f7 100644
--- a/package/network/ipv6/6relayd/files/6relayd.init
+++ b/package/network/ipv6/6relayd/files/6relayd.init
@@ -39,6 +39,7 @@ start_6relayd() {
master="$slave"
else
[ -n "$slave" ] && append slaves "$slave"
+ echo 1 > "/proc/sys/net/ipv6/conf/$slave/forwarding"
fi
done