6relayd: avoid a race-condition with looping RAs
authorSteven Barth <cyrus@openwrt.org>
Mon, 21 Jan 2013 10:42:31 +0000 (10:42 +0000)
committerSteven Barth <cyrus@openwrt.org>
Mon, 21 Jan 2013 10:42:31 +0000 (10:42 +0000)
SVN-Revision: 35260

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

index 8b1666cb8ed738ea8b8c49d6d59f7d20e13d7807..a0b504f96a9e49c02f8f1bebef29308a8c98e592 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 790396e574a0a116d48e5d1f445928a352415612..74b9d52f793c1d85c0c9682c28ddf3663077e481 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