summaryrefslogtreecommitdiffstats
path: root/package/network/ipv6/6relayd
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
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')
-rw-r--r--package/network/ipv6/6relayd/Makefile2
-rw-r--r--package/network/ipv6/6relayd/files/6relayd.init1
2 files changed, 2 insertions, 1 deletions
diff --git a/package/network/ipv6/6relayd/Makefile b/package/network/ipv6/6relayd/Makefile
index 8b1666cb8..a0b504f96 100644
--- a/package/network/ipv6/6relayd/Makefile
+++ b/package/network/ipv6/6relayd/Makefile
@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=6relayd
-PKG_VERSION:=2013-01-15
+PKG_VERSION:=2013-01-21
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
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