From: Steven Barth Date: Mon, 21 Jan 2013 10:42:31 +0000 (+0000) Subject: 6relayd: avoid a race-condition with looping RAs X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8a97d823a495ede56407f9b6744ba272fd1bbcab;p=openwrt%2Fstaging%2Fadrian.git 6relayd: avoid a race-condition with looping RAs SVN-Revision: 35260 --- diff --git a/package/network/ipv6/6relayd/Makefile b/package/network/ipv6/6relayd/Makefile index 8b1666cb8e..a0b504f96a 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 790396e574..74b9d52f79 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