diff options
author | Steven Barth <cyrus@openwrt.org> | 2013-01-21 10:42:31 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2013-01-21 10:42:31 +0000 |
commit | 8a97d823a495ede56407f9b6744ba272fd1bbcab (patch) | |
tree | acc0a1f93b38ec35ecc03260071c97a94bdf7561 /package/network | |
parent | f129c6786e28cd5fe3cd14ae3b3b61cbd7debf27 (diff) | |
download | upstream-8a97d823a495ede56407f9b6744ba272fd1bbcab.tar.gz upstream-8a97d823a495ede56407f9b6744ba272fd1bbcab.tar.bz2 upstream-8a97d823a495ede56407f9b6744ba272fd1bbcab.zip |
6relayd: avoid a race-condition with looping RAs
SVN-Revision: 35260
Diffstat (limited to 'package/network')
-rw-r--r-- | package/network/ipv6/6relayd/Makefile | 2 | ||||
-rw-r--r-- | package/network/ipv6/6relayd/files/6relayd.init | 1 |
2 files changed, 2 insertions, 1 deletions
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 |