6relayd: avoid a race-condition with looping RAs
authorSteven Barth <steven@midlink.org>
Mon, 21 Jan 2013 10:42:31 +0000 (10:42 +0000)
committerSteven Barth <steven@midlink.org>
Mon, 21 Jan 2013 10:42:31 +0000 (10:42 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35260 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/network/ipv6/6relayd/Makefile
package/network/ipv6/6relayd/files/6relayd.init

index 8b1666c..a0b504f 100644 (file)
@@ -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
index 790396e..74b9d52 100644 (file)
@@ -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